pkgsrc/devel/py-astroid/PLIST

342 lines
18 KiB
Text
Raw Normal View History

@comment $NetBSD: PLIST,v 1.4 2017/07/16 20:14:15 adam Exp $
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/astroid/__init__.py
${PYSITELIB}/astroid/__init__.pyc
${PYSITELIB}/astroid/__init__.pyo
${PYSITELIB}/astroid/__pkginfo__.py
${PYSITELIB}/astroid/__pkginfo__.pyc
${PYSITELIB}/astroid/__pkginfo__.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/arguments.py
${PYSITELIB}/astroid/arguments.pyc
${PYSITELIB}/astroid/arguments.pyo
${PYSITELIB}/astroid/as_string.py
${PYSITELIB}/astroid/as_string.pyc
${PYSITELIB}/astroid/as_string.pyo
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/astpeephole.py
${PYSITELIB}/astroid/astpeephole.pyc
${PYSITELIB}/astroid/astpeephole.pyo
${PYSITELIB}/astroid/bases.py
${PYSITELIB}/astroid/bases.pyc
${PYSITELIB}/astroid/bases.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/brain/brain_builtin_inference.py
${PYSITELIB}/astroid/brain/brain_builtin_inference.pyc
${PYSITELIB}/astroid/brain/brain_builtin_inference.pyo
${PYSITELIB}/astroid/brain/brain_collections.py
${PYSITELIB}/astroid/brain/brain_collections.pyc
${PYSITELIB}/astroid/brain/brain_collections.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/brain/brain_dateutil.py
${PYSITELIB}/astroid/brain/brain_dateutil.pyc
${PYSITELIB}/astroid/brain/brain_dateutil.pyo
${PYSITELIB}/astroid/brain/brain_fstrings.py
${PYSITELIB}/astroid/brain/brain_fstrings.pyc
${PYSITELIB}/astroid/brain/brain_fstrings.pyo
${PYSITELIB}/astroid/brain/brain_functools.py
${PYSITELIB}/astroid/brain/brain_functools.pyc
${PYSITELIB}/astroid/brain/brain_functools.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/brain/brain_gi.py
${PYSITELIB}/astroid/brain/brain_gi.pyc
${PYSITELIB}/astroid/brain/brain_gi.pyo
${PYSITELIB}/astroid/brain/brain_hashlib.py
${PYSITELIB}/astroid/brain/brain_hashlib.pyc
${PYSITELIB}/astroid/brain/brain_hashlib.pyo
${PYSITELIB}/astroid/brain/brain_io.py
${PYSITELIB}/astroid/brain/brain_io.pyc
${PYSITELIB}/astroid/brain/brain_io.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/brain/brain_mechanize.py
${PYSITELIB}/astroid/brain/brain_mechanize.pyc
${PYSITELIB}/astroid/brain/brain_mechanize.pyo
${PYSITELIB}/astroid/brain/brain_multiprocessing.py
${PYSITELIB}/astroid/brain/brain_multiprocessing.pyc
${PYSITELIB}/astroid/brain/brain_multiprocessing.pyo
${PYSITELIB}/astroid/brain/brain_namedtuple_enum.py
${PYSITELIB}/astroid/brain/brain_namedtuple_enum.pyc
${PYSITELIB}/astroid/brain/brain_namedtuple_enum.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/brain/brain_nose.py
${PYSITELIB}/astroid/brain/brain_nose.pyc
${PYSITELIB}/astroid/brain/brain_nose.pyo
${PYSITELIB}/astroid/brain/brain_numpy.py
${PYSITELIB}/astroid/brain/brain_numpy.pyc
${PYSITELIB}/astroid/brain/brain_numpy.pyo
${PYSITELIB}/astroid/brain/brain_pkg_resources.py
${PYSITELIB}/astroid/brain/brain_pkg_resources.pyc
${PYSITELIB}/astroid/brain/brain_pkg_resources.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/brain/brain_pytest.py
${PYSITELIB}/astroid/brain/brain_pytest.pyc
${PYSITELIB}/astroid/brain/brain_pytest.pyo
${PYSITELIB}/astroid/brain/brain_qt.py
${PYSITELIB}/astroid/brain/brain_qt.pyc
${PYSITELIB}/astroid/brain/brain_qt.pyo
${PYSITELIB}/astroid/brain/brain_re.py
${PYSITELIB}/astroid/brain/brain_re.pyc
${PYSITELIB}/astroid/brain/brain_re.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/brain/brain_six.py
${PYSITELIB}/astroid/brain/brain_six.pyc
${PYSITELIB}/astroid/brain/brain_six.pyo
${PYSITELIB}/astroid/brain/brain_ssl.py
${PYSITELIB}/astroid/brain/brain_ssl.pyc
${PYSITELIB}/astroid/brain/brain_ssl.pyo
${PYSITELIB}/astroid/brain/brain_subprocess.py
${PYSITELIB}/astroid/brain/brain_subprocess.pyc
${PYSITELIB}/astroid/brain/brain_subprocess.pyo
${PYSITELIB}/astroid/brain/brain_threading.py
${PYSITELIB}/astroid/brain/brain_threading.pyc
${PYSITELIB}/astroid/brain/brain_threading.pyo
${PYSITELIB}/astroid/brain/brain_typing.py
${PYSITELIB}/astroid/brain/brain_typing.pyc
${PYSITELIB}/astroid/brain/brain_typing.pyo
${PYSITELIB}/astroid/builder.py
${PYSITELIB}/astroid/builder.pyc
${PYSITELIB}/astroid/builder.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/context.py
${PYSITELIB}/astroid/context.pyc
${PYSITELIB}/astroid/context.pyo
${PYSITELIB}/astroid/decorators.py
${PYSITELIB}/astroid/decorators.pyc
${PYSITELIB}/astroid/decorators.pyo
${PYSITELIB}/astroid/exceptions.py
${PYSITELIB}/astroid/exceptions.pyc
${PYSITELIB}/astroid/exceptions.pyo
${PYSITELIB}/astroid/helpers.py
${PYSITELIB}/astroid/helpers.pyc
${PYSITELIB}/astroid/helpers.pyo
${PYSITELIB}/astroid/inference.py
${PYSITELIB}/astroid/inference.pyc
${PYSITELIB}/astroid/inference.pyo
${PYSITELIB}/astroid/interpreter/__init__.py
${PYSITELIB}/astroid/interpreter/__init__.pyc
${PYSITELIB}/astroid/interpreter/__init__.pyo
${PYSITELIB}/astroid/interpreter/_import/__init__.py
${PYSITELIB}/astroid/interpreter/_import/__init__.pyc
${PYSITELIB}/astroid/interpreter/_import/__init__.pyo
${PYSITELIB}/astroid/interpreter/_import/spec.py
${PYSITELIB}/astroid/interpreter/_import/spec.pyc
${PYSITELIB}/astroid/interpreter/_import/spec.pyo
${PYSITELIB}/astroid/interpreter/_import/util.py
${PYSITELIB}/astroid/interpreter/_import/util.pyc
${PYSITELIB}/astroid/interpreter/_import/util.pyo
${PYSITELIB}/astroid/interpreter/dunder_lookup.py
${PYSITELIB}/astroid/interpreter/dunder_lookup.pyc
${PYSITELIB}/astroid/interpreter/dunder_lookup.pyo
${PYSITELIB}/astroid/interpreter/objectmodel.py
${PYSITELIB}/astroid/interpreter/objectmodel.pyc
${PYSITELIB}/astroid/interpreter/objectmodel.pyo
${PYSITELIB}/astroid/manager.py
${PYSITELIB}/astroid/manager.pyc
${PYSITELIB}/astroid/manager.pyo
${PYSITELIB}/astroid/mixins.py
${PYSITELIB}/astroid/mixins.pyc
${PYSITELIB}/astroid/mixins.pyo
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/modutils.py
${PYSITELIB}/astroid/modutils.pyc
${PYSITELIB}/astroid/modutils.pyo
${PYSITELIB}/astroid/node_classes.py
${PYSITELIB}/astroid/node_classes.pyc
${PYSITELIB}/astroid/node_classes.pyo
${PYSITELIB}/astroid/nodes.py
${PYSITELIB}/astroid/nodes.pyc
${PYSITELIB}/astroid/nodes.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/objects.py
${PYSITELIB}/astroid/objects.pyc
${PYSITELIB}/astroid/objects.pyo
${PYSITELIB}/astroid/protocols.py
${PYSITELIB}/astroid/protocols.pyc
${PYSITELIB}/astroid/protocols.pyo
${PYSITELIB}/astroid/raw_building.py
${PYSITELIB}/astroid/raw_building.pyc
${PYSITELIB}/astroid/raw_building.pyo
${PYSITELIB}/astroid/rebuilder.py
${PYSITELIB}/astroid/rebuilder.pyc
${PYSITELIB}/astroid/rebuilder.pyo
${PYSITELIB}/astroid/scoped_nodes.py
${PYSITELIB}/astroid/scoped_nodes.pyc
${PYSITELIB}/astroid/scoped_nodes.pyo
${PYSITELIB}/astroid/test_utils.py
${PYSITELIB}/astroid/test_utils.pyc
${PYSITELIB}/astroid/test_utils.pyo
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/__init__.py
${PYSITELIB}/astroid/tests/__init__.pyc
${PYSITELIB}/astroid/tests/__init__.pyo
${PYSITELIB}/astroid/tests/resources.py
${PYSITELIB}/astroid/tests/resources.pyc
${PYSITELIB}/astroid/tests/resources.pyo
${PYSITELIB}/astroid/tests/testdata/python2/data/MyPyPa-0.1.0-py2.5.egg
${PYSITELIB}/astroid/tests/testdata/python2/data/MyPyPa-0.1.0-py2.5.zip
${PYSITELIB}/astroid/tests/testdata/python2/data/SSL1/Connection1.py
${PYSITELIB}/astroid/tests/testdata/python2/data/SSL1/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/absimp/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/absimp/sidepackage/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/absimp/string.py
${PYSITELIB}/astroid/tests/testdata/python2/data/absimport.py
${PYSITELIB}/astroid/tests/testdata/python2/data/all.py
${PYSITELIB}/astroid/tests/testdata/python2/data/appl/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/appl/myConnection.py
${PYSITELIB}/astroid/tests/testdata/python2/data/contribute_to_namespace/namespace_pep_420/submodule.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python2/data/descriptor_crash.py
${PYSITELIB}/astroid/tests/testdata/python2/data/email.py
${PYSITELIB}/astroid/tests/testdata/python2/data/find_test/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/find_test/module.py
${PYSITELIB}/astroid/tests/testdata/python2/data/find_test/module2.py
${PYSITELIB}/astroid/tests/testdata/python2/data/find_test/noendingnewline.py
${PYSITELIB}/astroid/tests/testdata/python2/data/find_test/nonregr.py
${PYSITELIB}/astroid/tests/testdata/python2/data/foogle/fax/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/foogle/fax/a.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python2/data/format.py
${PYSITELIB}/astroid/tests/testdata/python2/data/invalid_encoding.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python2/data/joined_strings.py
${PYSITELIB}/astroid/tests/testdata/python2/data/lmfp/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/lmfp/foo.py
${PYSITELIB}/astroid/tests/testdata/python2/data/module.py
${PYSITELIB}/astroid/tests/testdata/python2/data/module1abs/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/module1abs/core.py
${PYSITELIB}/astroid/tests/testdata/python2/data/module2.py
${PYSITELIB}/astroid/tests/testdata/python2/data/namespace_pep_420/module.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python2/data/noendingnewline.py
${PYSITELIB}/astroid/tests/testdata/python2/data/nonregr.py
${PYSITELIB}/astroid/tests/testdata/python2/data/notall.py
${PYSITELIB}/astroid/tests/testdata/python2/data/notamodule/file.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python2/data/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/package/absimport.py
${PYSITELIB}/astroid/tests/testdata/python2/data/package/hello.py
${PYSITELIB}/astroid/tests/testdata/python2/data/package/import_package_subpackage_module.py
${PYSITELIB}/astroid/tests/testdata/python2/data/package/subpackage/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/package/subpackage/module.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_1/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_1/package/foo.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_2/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_2/package/bar.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_3/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkg_resources_3/package/baz.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_1/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_1/package/foo.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_2/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_2/package/bar.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_3/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/path_pkgutil_3/package/baz.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python2/data/recursion.py
${PYSITELIB}/astroid/tests/testdata/python2/data/tmp__init__.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python2/data/unicode_package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python2/data/unicode_package/core/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/MyPyPa-0.1.0-py2.5.egg
${PYSITELIB}/astroid/tests/testdata/python3/data/MyPyPa-0.1.0-py2.5.zip
${PYSITELIB}/astroid/tests/testdata/python3/data/SSL1/Connection1.py
${PYSITELIB}/astroid/tests/testdata/python3/data/SSL1/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/absimp/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/absimp/sidepackage/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/absimp/string.py
${PYSITELIB}/astroid/tests/testdata/python3/data/absimport.py
${PYSITELIB}/astroid/tests/testdata/python3/data/all.py
${PYSITELIB}/astroid/tests/testdata/python3/data/appl/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/appl/myConnection.py
${PYSITELIB}/astroid/tests/testdata/python3/data/contribute_to_namespace/namespace_pep_420/submodule.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python3/data/descriptor_crash.py
${PYSITELIB}/astroid/tests/testdata/python3/data/email.py
${PYSITELIB}/astroid/tests/testdata/python3/data/find_test/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/find_test/module.py
${PYSITELIB}/astroid/tests/testdata/python3/data/find_test/module2.py
${PYSITELIB}/astroid/tests/testdata/python3/data/find_test/noendingnewline.py
${PYSITELIB}/astroid/tests/testdata/python3/data/find_test/nonregr.py
${PYSITELIB}/astroid/tests/testdata/python3/data/foogle/fax/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/foogle/fax/a.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python3/data/format.py
${PYSITELIB}/astroid/tests/testdata/python3/data/invalid_encoding.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python3/data/joined_strings.py
${PYSITELIB}/astroid/tests/testdata/python3/data/lmfp/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/lmfp/foo.py
${PYSITELIB}/astroid/tests/testdata/python3/data/module.py
${PYSITELIB}/astroid/tests/testdata/python3/data/module1abs/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/module1abs/core.py
${PYSITELIB}/astroid/tests/testdata/python3/data/module2.py
${PYSITELIB}/astroid/tests/testdata/python3/data/namespace_pep_420/module.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python3/data/noendingnewline.py
${PYSITELIB}/astroid/tests/testdata/python3/data/nonregr.py
${PYSITELIB}/astroid/tests/testdata/python3/data/notall.py
${PYSITELIB}/astroid/tests/testdata/python3/data/notamodule/file.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python3/data/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/package/absimport.py
${PYSITELIB}/astroid/tests/testdata/python3/data/package/hello.py
${PYSITELIB}/astroid/tests/testdata/python3/data/package/import_package_subpackage_module.py
${PYSITELIB}/astroid/tests/testdata/python3/data/package/subpackage/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/package/subpackage/module.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_1/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_1/package/foo.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_2/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_2/package/bar.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_3/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkg_resources_3/package/baz.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_1/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_1/package/foo.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_2/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_2/package/bar.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_3/package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/path_pkgutil_3/package/baz.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python3/data/recursion.py
${PYSITELIB}/astroid/tests/testdata/python3/data/tmp__init__.py
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/testdata/python3/data/unicode_package/__init__.py
${PYSITELIB}/astroid/tests/testdata/python3/data/unicode_package/core/__init__.py
${PYSITELIB}/astroid/tests/unittest_brain.py
${PYSITELIB}/astroid/tests/unittest_brain.pyc
${PYSITELIB}/astroid/tests/unittest_brain.pyo
${PYSITELIB}/astroid/tests/unittest_builder.py
${PYSITELIB}/astroid/tests/unittest_builder.pyc
${PYSITELIB}/astroid/tests/unittest_builder.pyo
${PYSITELIB}/astroid/tests/unittest_helpers.py
${PYSITELIB}/astroid/tests/unittest_helpers.pyc
${PYSITELIB}/astroid/tests/unittest_helpers.pyo
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/unittest_inference.py
${PYSITELIB}/astroid/tests/unittest_inference.pyc
${PYSITELIB}/astroid/tests/unittest_inference.pyo
${PYSITELIB}/astroid/tests/unittest_lookup.py
${PYSITELIB}/astroid/tests/unittest_lookup.pyc
${PYSITELIB}/astroid/tests/unittest_lookup.pyo
${PYSITELIB}/astroid/tests/unittest_manager.py
${PYSITELIB}/astroid/tests/unittest_manager.pyc
${PYSITELIB}/astroid/tests/unittest_manager.pyo
${PYSITELIB}/astroid/tests/unittest_modutils.py
${PYSITELIB}/astroid/tests/unittest_modutils.pyc
${PYSITELIB}/astroid/tests/unittest_modutils.pyo
${PYSITELIB}/astroid/tests/unittest_nodes.py
${PYSITELIB}/astroid/tests/unittest_nodes.pyc
${PYSITELIB}/astroid/tests/unittest_nodes.pyo
${PYSITELIB}/astroid/tests/unittest_object_model.py
${PYSITELIB}/astroid/tests/unittest_object_model.pyc
${PYSITELIB}/astroid/tests/unittest_object_model.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/tests/unittest_objects.py
${PYSITELIB}/astroid/tests/unittest_objects.pyc
${PYSITELIB}/astroid/tests/unittest_objects.pyo
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/unittest_peephole.py
${PYSITELIB}/astroid/tests/unittest_peephole.pyc
${PYSITELIB}/astroid/tests/unittest_peephole.pyo
${PYSITELIB}/astroid/tests/unittest_protocols.py
${PYSITELIB}/astroid/tests/unittest_protocols.pyc
${PYSITELIB}/astroid/tests/unittest_protocols.pyo
${PYSITELIB}/astroid/tests/unittest_python3.py
${PYSITELIB}/astroid/tests/unittest_python3.pyc
${PYSITELIB}/astroid/tests/unittest_python3.pyo
${PYSITELIB}/astroid/tests/unittest_raw_building.py
${PYSITELIB}/astroid/tests/unittest_raw_building.pyc
${PYSITELIB}/astroid/tests/unittest_raw_building.pyo
${PYSITELIB}/astroid/tests/unittest_regrtest.py
${PYSITELIB}/astroid/tests/unittest_regrtest.pyc
${PYSITELIB}/astroid/tests/unittest_regrtest.pyo
${PYSITELIB}/astroid/tests/unittest_scoped_nodes.py
${PYSITELIB}/astroid/tests/unittest_scoped_nodes.pyc
${PYSITELIB}/astroid/tests/unittest_scoped_nodes.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/tests/unittest_transforms.py
${PYSITELIB}/astroid/tests/unittest_transforms.pyc
${PYSITELIB}/astroid/tests/unittest_transforms.pyo
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.
2015-04-05 17:36:27 +02:00
${PYSITELIB}/astroid/tests/unittest_utils.py
${PYSITELIB}/astroid/tests/unittest_utils.pyc
${PYSITELIB}/astroid/tests/unittest_utils.pyo
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.
2017-02-28 18:15:24 +01:00
${PYSITELIB}/astroid/transforms.py
${PYSITELIB}/astroid/transforms.pyc
${PYSITELIB}/astroid/transforms.pyo
${PYSITELIB}/astroid/util.py
${PYSITELIB}/astroid/util.pyc
${PYSITELIB}/astroid/util.pyo