The NetBSD Project

CVS log for pkgsrc/devel/py-astroid/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / py-astroid

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28 / (download) - annotate - [select for diffs], Wed Mar 13 19:19:27 2019 UTC (5 weeks, 2 days ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1, HEAD
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

py-astroid: updated to 2.2.5

What's New in astroid 2.2.5?
* The last except handler wins when inferring variables bound in an except handler.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Mar 6 18:39:43 2019 UTC (6 weeks, 2 days ago) by adam
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored)

py-astroid: updated to 2.2.4

What's New in astroid 2.2.4?
* Latest typed_ast gets installed for all CPython versions.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Mar 4 18:47:56 2019 UTC (6 weeks, 4 days ago) by adam
Branch: MAIN
Changes since 1.25: +2 -2 lines
Diff to previous 1.25 (colored)

py-astroid: updated to 2.2.3

What's New in astroid 2.2.3?

* Replace any with uninferable when returning values from numpy transform

  Turns out that this was conflicting with the any builtin, while the original
  intention was to return a value that cannot be inferred, until we have support
  for types.

  This should fix a couple of false positives on pylint's side where the return
  value of numpy functions was considered to be itself a function.

Revision 1.25 / (download) - annotate - [select for diffs], Sat Mar 2 14:10:14 2019 UTC (6 weeks, 6 days ago) by adam
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

py-astroid: updated to 2.2.2

What's New in astroid 2.2.2?
* Generated proper environment markers for installing typed-ast.

What's New in astroid 2.2.1?
* Make sure to infer the arguments to the slice() builtin
* Correctly instantiate exception instances when inferring their attributes with objectmodel

Revision 1.24 / (download) - annotate - [select for diffs], Thu Feb 28 09:17:41 2019 UTC (7 weeks, 1 day ago) by adam
Branch: MAIN
Changes since 1.23: +4 -6 lines
Diff to previous 1.23 (colored)

py-astroid: updated to 2.2.0

What's New in astroid 2.2.0?
* Fix a bug concerning inference of calls to numpy function that should not return Tuple or List instances.
* typed_ast gets installed for Python 3.7, meaning type comments can now work on 3.7.
* Fix a bug concerning inference of unary operators on numpy types.
* Fix a crash with typing.NamedTuple and empty fields.
* Add a proper strerror inference to the OSError exceptions.
* Support non-const nodes as values of Enum attributes.
* Fix a crash in the enum brain tip caused by non-assign members in class definitions.
* brain_numpy returns an undefined type for numpy methods to avoid assignment-from-no-return
* Fix a bug where a call to a function that has been previously called via
  functools.partial was wrongly inferred
* Fix a recursion error caused by inferring the slice builtin.
* Remove the restriction that "old style classes" cannot have a MRO.
  This does not make sense any longer given that we run against Python 3
  code.
* Added more builtin exceptions attributes.
* Add a registry for builtin exception models.
* Add brain tips for http.client.
* Prevent crashing when processing enums with mixed single and double quotes.
* typing types have the __args__ property.
* Fix a bug where an Attribute used as a base class was triggering a crash
* Added special support for enum.IntFlag
* Extend detection of data classes defined with attr
* Fix typo in description for brain_attrs

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 27 16:03:09 2018 UTC (3 months, 3 weeks ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

PYTHON_VERSIONS_INCOMPATIBLE must be set before pyversion.mk is included.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Nov 26 09:00:52 2018 UTC (4 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored)

py-astroid: updated to 2.1.0

What's New in astroid 2.1.0?

* threading.Lock.acquire has the timeout parameter now.

* Pass parameters by keyword name when inferring sequences.

* Correct line numbering for f-strings for complex embedded expressions

  When a f-string contained a complex expression, such as an attribute access,
  we weren't cloning all the subtree of the f-string expression for attaching the correct
  line number. This problem is coming from the builtin AST parser which gives for the f-string
  and for its underlying elements the line number 1, but this is causing all sorts of bugs and
  problems in pylint, which expects correct line numbering.

* Add support for argparse.Namespace

* async functions are now inferred as AsyncGenerator when inferring their call result.

* Filter out Uninferable when inferring the call result result of a class with an uninferable __call__ method.

* Make compatible with AST changes in Python 3.8.

* Subscript inference (e.g. "a[i]") now pays attention to multiple inferred values for value
  (e.g. "a") and slice (e.g. "i")

Revision 1.21 / (download) - annotate - [select for diffs], Fri Aug 10 12:16:23 2018 UTC (8 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.20: +2 -2 lines
Diff to previous 1.20 (colored)

py-astroid: updated to 2.0.4

2.0.4:
Make sure that assign nodes can find ``yield`` statements in their values

2.0.3:
The environment markers for PyPy were invalid.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Aug 2 15:13:34 2018 UTC (8 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored)

py-astroid: updated to 2.0.2

What's New in astroid 2.0.2?
   * Stop repeat inference attempt causing a RuntimeError in Python3.7

   *  infer_call_result can raise InferenceError so make sure to handle that for the call sites
      where it is used

     infer_call_result started recently to raise InferenceError for objects for which it
     could not find any returns. Previously it was silently raising a StopIteration,
     which was especially leaking when calling builtin methods.
     Since it is after all an inference method, it is expected that it
     could raise an InferenceError rather than returning nothing.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jul 24 06:13:53 2018 UTC (8 months, 3 weeks ago) by adam
Branch: MAIN
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

py-astroid: updated to 2.0.1

2.0.1:
Released to clear an old wheel package on PyPI

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 17 10:05:46 2018 UTC (9 months ago) by adam
Branch: MAIN
Changes since 1.17: +11 -6 lines
Diff to previous 1.17 (colored)

py-astroid: updated to 2.0

astroid 2.0:
* String representation of nodes takes in account precedence and associativity rules of operators.
* Fix loading files with modutils.load_from_module when
  the path that contains it in sys.path is a symlink and
  the file is contained in a symlinked folder.
* Reworking of the numpy brain dealing with numerictypes
  (use of inspect module to determine the class hierarchy of
   numpy.core.numerictypes module)
* Added inference support for starred nodes in for loops
* Support unpacking for dicts in assignments
* Add support for inferring functools.partial
* Inference support for dict.fromkeys
* int() builtin is inferred as returning integers.
* str() builtin is inferred as returning strings.
* DescriptorBoundMethod has the correct number of arguments defined.
* Improvement of the numpy numeric types definition.
* Subclasses of *property* are now interpreted as properties
* AsStringRegexpPredicate has been removed.
  Use transform predicates instead of it.
* Switched to using typed_ast for getting access to type comments
  As a side effect of this change, some nodes gained a new type_annotation attribute,
  which, if the type comments were correctly parsed, should contain a node object
  with the corresponding objects from the type comment.
* typing.X[...] and typing.NewType are inferred as classes instead of instances.
* Module.__path__ is now a list
  It used to be a string containing the path, but it doesn't reflect the situation
  on Python, where it is actually a list.
* Fix a bug with namespace package's __path__ attribute.
* Added brain tips for random.sample
* Add brain tip for issubclass builtin
* Fix submodule imports from six
* Fix missing __module__ and __qualname__ from class definition locals
* Fix a crash when __annotations__ access a parent's __init__ that does not have arguments
* Fix multiple objects sharing the same InferenceContext.path causing uninferable results
* Fix improper modification of col_offset, lineno upon inference of builtin functions
* Subprocess.Popen brain now knows of the args member
* add move_to_end method to collections.OrderedDict brain
* Include new hashlib classes added in python 3.6
* Fix RecursionError for augmented assign
* Add missing attrs special attribute
* Inference now understands the 'isinstance' builtin
* Stop duplicate nodes with the same key values
  from appearing in dictionaries from dictionary unpacking.
* Fix contextlib.contextmanager inference for nested context managers
* Implement inference for len builtin
* Add qname method to Super object preventing potential errors in upstream
  pylint
* Stop astroid from getting stuck in an infinite loop if a function shares
its name with its decorator
* Fix issue with inherited __call__ improperly inferencing self
* Fix __call__ precedence for classes with custom metaclasses
* Limit the maximum amount of interable result in an NodeNG.infer() call to
 100 by default for performance issues with variables with large amounts of
 possible values.
 The max inferable value can be tuned by setting the max_inferable_values flag on
 astroid.MANAGER.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jun 7 06:33:54 2018 UTC (10 months, 1 week ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2
Changes since 1.16: +3 -3 lines
Diff to previous 1.16 (colored)

py-astroid: updated to 1.6.5

1.6.5
*  Don't propagate Uninferable objects when inferring BinOps
*  Protect against passing lookup_class to non-class proxied objects
   In some cases the _proxied object points to another Instance, not to the
   Class of an Instance node (usually this happens with enum and with our
   hardcoded inference support for this library). Instead of getting a TypeError,
   we check before if the _proxied matches what we expect.

Revision 1.16 / (download) - annotate - [select for diffs], Wed May 16 06:54:20 2018 UTC (11 months ago) by adam
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

py-astroid: updated to 1.6.4

1.6.4
* Skip non-attrs specific attributes in attr wrapped classes.
* Add brain tip for numpy.sum.
* deque.rotate has a default parameter.

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 6 11:51:27 2018 UTC (12 months, 1 week ago) by adam
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

py-astroid: updated to 1.6.3

1.6.3:
Bug fixes.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Mar 17 06:52:50 2018 UTC (13 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

py-astroid: updated to 1.6.2

1.6.2
* Fix submodule imports from six
* Enhancement of brain_numpy by adding different types from
  numpy.core.numerictypes
* Fix RecursionError for augmented assign
* Stop most inference tip overwrites from happening by using
  predicates on existing inference_tip transforms.
* Add missing attrs special attribute
* Fix contextlib.contextmanager inference for nested context managers

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jan 31 11:50:08 2018 UTC (14 months, 2 weeks ago) by adam
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

py-astroid: updated to 1.6.1

1.6.1
* Fix a crash when __annotations__ access a parent's __init__ that does not have arguments

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 21 09:57:44 2017 UTC (15 months, 4 weeks ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.11: +2 -6 lines
Diff to previous 1.11 (colored)

astroid: updated to 1.6.0

1.6.0:
* When verifying duplicates classes in MRO, ignore on-the-fly generated classes
* Add brain tip for attrs library to prevent unsupported-assignment-operation false positives
* file_stream was removed, since it was deprecated for three releases
  Instead one should use the .stream() method.
* Vast improvements to numpy support
* Add brain tips for curses
* Add brain tips for UUID.int
* The result of using object.__new__ as class decorator is correctly inferred as instance
* Enums created with functional syntax are now iterable
* Enums created with functional syntax are now subscriptable
* Don't crash when getting the string representation of BadUnaryOperationMessage
  In some cases, when the operand does not have a .name attribute,
  getting the string representation of a BadUnaryOperationMessage leads
  to a crash.
* Don't raise DuplicateBaseError when classes at different locations are used
  For instance, one can implement a namedtuple base class, which gets reused
  on a class with the same name later on in the file. Until now, we considered
  these two classes as being the same, because they shared the name, but in fact
  they are different, being created at different locations and through different
  means.
 * The func form of namedtuples with keywords is now understood
 * Dunder class at method level is now inferred as the class of the method

Revision 1.11 / (download) - annotate - [select for diffs], Sun Sep 3 08:53:07 2017 UTC (19 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

Follow some redirects.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jul 16 20:14:15 2017 UTC (21 months ago) by adam
Branch: MAIN
Changes since 1.9: +12 -4 lines
Diff to previous 1.9 (colored)

1.5.3:

* enum34 dependency is forced to be at least version 1.1.3. Fixes spurious
bug related to enum classes being falsy in boolean context, which caused
_Inconsistent Hierarchy_ `RuntimeError` in `singledispatch` module.

* Do not raise an exception when uninferable value is unpacked in ``with`` statement.

* Lock objects from ``threading`` module are now correctly recognised
  as context managers.

Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 28 17:15:24 2017 UTC (2 years, 1 month ago) by fhajny
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.8: +7 -5 lines
Diff to previous 1.8 (colored)

Update devel/py-astroid to 1.4.9.

2016-12-18 -- 1.4.9
- Cast __path__ to a list in _module_file
- Add support for pytest 3.0.

2016-07-27 -- 1.4.8
- Add `returns` into the proper order in FunctionDef._astroid_fields

2016-07-07 -- 1.4.7
- Stop saving assignment locals in ExceptHandlers, when the context is a
  store.

2016-06-06 -- 1.4.6
- Fix a crash which occurred when the class of a namedtuple could not be
  inferred.
- Functional form of enums support accessing values through __call__.
- Brain tips for the ssl library.

2016-03-21 -- 1.4.5
- decoratornames() does not leak InferenceError anymore.
- wildcard_imported_names() got replaced by _public_names()

2016-01-15 -- 1.4.4
- unpack_infer raises InferenceError if it can't operate
  with the given sequences of nodes.
- Support accessing properties with super().
- Enforce strong updates per frames.

2015-12-24 -- 1.4.3
- pkg_resources brain tips are a bit more specific,
  by specifiying proper returns.
- Standard library modules are properly detected by is_standard_module.

2015-12-21 -- 1.4.2
- The slots() method conflates all the slots from the ancestors
  into a list of current and parent slots.
- Revert to using printf-style formatting in as_string, in order
  to avoid a potential problem with encodings when using .format.
- assigned_stmts methods have the same signature from now on.

2015-11-29 -- 1.4.1
- Add support for handling Uninferable nodes when calling as_string

2015-11-29 -- 1.4.0
- Class.getattr('__mro__') returns the actual MRO.
- The logilab-common dependency is not needed anymore as the needed code
  was integrated into astroid.
- Add 'assert_equals' method in nose.tools's brain plugin.
- Generated enum member stubs now support IntEnum and multiple
  base classes.
- Add brain tips for multiprocessing.Manager and
  multiprocessing.managers.SyncManager.
- Add brain tips for multiprocessing post Python 3.4+,
  where the module level functions are retrieved with getattr
  from a context object, leading to many no-member errors
  in Pylint.
- The Generator objects inferred with `infer_call_result`
  from functions have as parent the function from which they
  are returned.
- Understand partially the 3-argument form of `type`.
  The only change is that astroid understands members
  passed in as dictionaries as the third argument.
- Improve the inference of Getattr nodes when dealing with
  abstract properties from the abc module.
- UnboundMethod.getattr calls the getattr of its _proxied object
  and doesn't call super(...) anymore.
- Don't hard fail when calling .mro() on a class which has
  combined both newstyle and old style classes. The class
  in question is actually newstyle (and the __mro__ can be
  retrieved using Python).
- Class.local_attr and Class.local_attr_ancestors uses internally
  a mro lookup, using .mro() method, if they can.
- Expose a implicit_metaclass() method in Class. This will return
  a builtins.type instance for newstyle classes.
- Add two new exceptions for handling MRO error cases.
  DuplicateBasesError
  is emitted when duplicate bases are found in a class,
- Classes aren't marked as interfaces anymore, in the `type` attribute.
- Class.has_dynamic_getattr doesn't return True for special methods
  which aren't implemented in pure Python, as it is the case for
  extension modules.
- Add `igetattr` method to scoped_nodes.Function.
- Add support for Python 3.5's MatMul operation: see PEP 465 for more
  details.
- NotImplemented is detected properly now as being part of the
  builtins module. Previously trying to infer the Name(NotImplemented)
  returned an YES object.
- Add proper grammatical names for `infered` and `ass_type` methods,
  namely `inferred` and `assign_type`.
- Add new AST names in order to be similar to the ones
  from the builtin ast module.
- Star unpacking in assignments returns properly a list,
  not the individual components.
- Lambdas found at class level, which have a `self` argument, are
  considered
- Add annotation support for function.as_string().
- Add support for indexing bytes on Python 3.
- Add support for inferring subscript on instances, which will
  use __getitem__.
- Understand metaclasses added with six.add_metaclass decorator.
- Add a new convenience API, `astroid.parse`, which can be used to
  retrieve an astroid AST from a source code string, similar to how
  ast.parse can be used to obtain a Python AST from a source string.
- do_import_module passes the proper relative_only flag if the level is
  higher than 1.
- There's a new separate step for transforms.
- Add a new node, DictUnpack, which is used to represent the unpacking
  of a dictionary into another dictionary, using PEP 448 specific syntax
  ({1:2, **{2:3})
- Add a new type of node, called *inference objects*.
- Add a new *inference object* called Super, which also adds support for
  understanding super calls.
- astroid.utils.ASTWalker and astroid.utils.LocalsVisitor
  were moved to pylint.pyreverse.utils.

2015-08-02 -- 1.3.8
- Backport of 40e3176, which fixes issue #84.

2015-07-27 -- 1.3.7
- Improve the inference of six.moves, especially when using `from ...
  import ...` syntax. Also, we added a new fail import hook for six.moves,
  which fixes the import-error false positive from pylint.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 29 15:44:25 2016 UTC (2 years, 7 months ago) by darcy
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3
Changes since 1.7: +1 -3 lines
Diff to previous 1.7 (colored)

Update devel/py-logilab-common to version 1.2.0.
This is mainly to remove dependency on time/py-mxDateTime so that it can
build on Python >= 3.4.
Removed PYTHON_VERSIONS_INCOMPATIBLE line from this and other packages
that had it for this incompatibility.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jul 9 13:03:39 2016 UTC (2 years, 9 months ago) by wiz
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

Remove python33: adapt all packages that refer to it.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jun 8 17:43:28 2016 UTC (2 years, 10 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Switch to MASTER_SITES_PYPI.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Dec 5 21:25:36 2015 UTC (3 years, 4 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Extend PYTHON_VERSIONS_INCOMPATIBLE to 35

Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 5 15:36:27 2015 UTC (4 years ago) by wen
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.3: +5 -2 lines
Diff to previous 1.3 (colored)

Update to 1.3.6
Add test target

Upstream changes:
2015-03-14 -- 1.3.6

    * Class.slots raises NotImplementedError for old style classes.
      Closes issue #67.

    * Add a new option to AstroidManager, `optimize_ast`, which
      controls if peephole optimizer should be enabled or not.
      This prevents a regression, where the visit_binop method
      wasn't called anymore with astroid 1.3.5, due to the differences
      in the resulting AST. Closes issue #82.


2015-03-11 -- 1.3.5

    * Add the ability to optimize small ast subtrees,
      with the first use in the optimization of multiple
      BinOp nodes. This removes recursivity in the rebuilder
      when dealing with a lot of small strings joined by the
      addition operator. Closes issue #59.

    * Obtain the methods for the nose brain tip through an
      unittest.TestCase instance. Closes Pylint issue #457.

    * Fix a crash which occurred when a class was the ancestor
      of itself. Closes issue #78.

    * Improve the scope_lookup method for Classes regarding qualified
      objects, with an attribute name exactly as one provided in the
      class itself.

      For example, a class containing an attribute 'first',
      which was also an import and which had, as a base, a qualified name
      or a Gettattr node, in the form 'module.first', then Pylint would
      have inferred the `first` name as the function from the Class,
      not the import. Closes Pylint issue #466.

    * Implement the assigned_stmts operation for Starred nodes,
      which was omitted when support for Python 3 was added in astroid.
      Closes issue #36.


2015-01-17 -- 1.3.4

    * Get the first element from the method list when obtaining
      the functions from nose.tools.trivial. Closes Pylint issue #448.

2015-01-16 -- 1.3.3

    * Restore file_stream to a property, but deprecate it in favour of
      the newly added method Module.stream. By using a method instead of a
      property, it will be easier to properly close the file right
      after it is used, which will ensure that no file descriptors are
      leaked. Until now, due to the fact that a module was cached,
      it was not possible to close the file_stream anywhere.
      file_stream will start emitting PendingDeprecationWarnings in
      astroid 1.4, DeprecationWarnings in astroid 1.5 and it will
      be finally removed in astroid 1.6.

    * Add inference tips for 'tuple', 'list', 'dict' and 'set' builtins.

    * Add brain definition for most string and unicode methods

    * Changed the API for Class.slots. It returns None when the class
      doesn't define any slots. Previously, for both the cases where
      the class didn't have slots defined and when it had an empty list
      of slots, Class.slots returned an empty list.

    * Add a new method to Class nodes, 'mro', for obtaining the
      the method resolution order of the class.

    * Add brain tips for six.moves. Closes issue #63.

    * Improve the detection for functions decorated with decorators
      which returns static or class methods.

    * .slots() can contain unicode strings on Python 2.

    * Add inference tips for nose.tools.


2014-11-22 -- 1.3.2

    * Fixed a crash with invalid subscript index.

    * Implement proper base class semantics for Python 3, where
      every class derives from object.

    * Allow more fine-grained control over C extension loading
      in the manager.

2014-11-21 -- 1.3.1

    * Fixed a crash issue with the pytest brain module.

2014-11-20 -- 1.3.0

    * Fix a maximum recursion error occured during the inference,
      where statements with the same name weren't filtered properly.
      Closes pylint issue #295.

    * Check that EmptyNode has an underlying object in
      EmptyNode.has_underlying_object.

    * Simplify the understanding of enum members.

    * Fix an infinite loop with decorator call chain inference,
      where the decorator returns itself. Closes issue #50.

    * Various speed improvements. Patch by Alex Munroe.

    * Add pytest brain plugin. Patch by Robbie Coomber.

    * Support for Python versions < 2.7 has been dropped, and the
      source has been made compatible with Python 2 and 3. Running
      2to3 on installation for Python 3 is not needed anymore.

    * astroid now depends on six.

    * modutils._module_file opens __init__.py in binary mode.
      Closes issues #51 and #13.

    * Only C extensions from trusted sources (the standard library)
      are loaded into the examining Python process to build an AST
      from the live module.

    * Path names on case-insensitive filesystems are now properly
      handled. This fixes the stdlib detection code on Windows.

    * Metaclass-generating functions like six.with_metaclass
      are now supported via some explicit detection code.

    * astroid.register_module_extender has been added to generalize
      the support for module extenders as used by many brain plugins.

    * brain plugins can now register hooks to handle failed imports,
      as done by the gobject-introspection plugin.

    * The modules have been moved to a separate package directory,
      `setup.py develop` now works correctly.


2014-08-24 -- 1.2.1

    * Fix a crash occurred when inferring decorator call chain.
      Closes issue #42.

    * Set the parent of vararg and kwarg nodes when inferring them.
      Closes issue #43.

    * namedtuple inference knows about '_fields' attribute.

    * enum members knows about the methods from the enum class.

    * Name inference will lookup in the parent function
      of the current scope, in case searching in the current scope
      fails.

    * Inference of the functional form of the enums takes into
      consideration the various inputs that enums accepts.

    * The inference engine handles binary operations (add, mul etc.)
      between instances.

    * Fix an infinite loop in the inference, by returning a copy
      of instance attributes, when calling 'instance_attr'.
      Closes issue #34 (patch by Emile Anclin).

    * Don't crash when trying to infer unbound object.__new__ call.
      Closes issue #11.

2014-07-25  --  1.2.0

    * Function nodes can detect decorator call chain and see if they are
      decorated with builtin descriptors (`classmethod` and `staticmethod`).

    * infer_call_result called on a subtype of the builtin type will now
      return a new `Class` rather than an `Instance`.

    * `Class.metaclass()` now handles module-level __metaclass__ declaration
      on python 2, and no longer looks at the __metaclass__ class attribute on
      python 3.

    * Function nodes can detect if they are decorated with subclasses
      of builtin descriptors when determining their type
      (`classmethod` and `staticmethod`).

    * Add `slots` method to `Class` nodes, for retrieving
      the list of valid slots it defines.

    * Expose function annotation to astroid: `Arguments` node
      exposes 'varargannotation', 'kwargannotation' and 'annotations'
      attributes, while `Function` node has the 'returns' attribute.

    * Backported most of the logilab.common.modutils module there, as
      most things there are for pylint/astroid only and we want to be
      able to fix them without requiring a new logilab.common release

    * Fix names grabed using wildcard import in "absolute import mode"
      (ie with absolute_import activated from the __future__ or with
      python 3). Fix pylint issue #58.

    * Add support in pylint-brain for understanding enum classes.

2014-04-30  --  1.1.1
    * `Class.metaclass()` looks in ancestors when the current class
      does not define explicitly a metaclass.

    * Do not cache modules if a module with the same qname is already
      known, and only return cached modules if both name and filepath
      match. Fixes pylint Bitbucket issue #136.

2014-04-18  --  1.1.0
    * All class nodes are marked as new style classes for Py3k.

    * Add a `metaclass` function to `Class` nodes to
      retrieve their metaclass.

    * Add a new YieldFrom node.

    * Add support for inferring arguments to namedtuple invocations.

    * Make sure that objects returned for namedtuple
      inference have parents.

    * Don't crash when inferring nodes from `with` clauses
      with multiple context managers. Closes #18.

    * Don't crash when a class has some __call__ method that is not
      inferable. Closes #17.

    * Unwrap instances found in `.ancestors()`, by using their _proxied
      class.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Dec 6 11:00:52 2014 UTC (4 years, 4 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.2: +3 -2 lines
Diff to previous 1.2 (colored)

No need to buildlink with devel/py-logilab-common, just DEPENDS.

Revision 1.2 / (download) - annotate - [select for diffs], Fri May 9 07:37:00 2014 UTC (4 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored)

Mark packages that are not ready for python-3.3 also not ready for 3.4,
until proven otherwise.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Mar 12 01:06:05 2014 UTC (5 years, 1 month ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1

Import py27-astroid-1.0.1 as devel/py-astroid.

The aim of this module is to provide a common base representation of
python source code for projects such as pychecker, pyreverse,
pylint... Well, actually the development of this library is essentially
governed by pylint's needs. It used to be called logilab-astng

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>