Changelog for
python3-astroid-1.3.7-3.1.noarch.rpm :
Sat Aug 1 14:00:00 2015 arunAATTgmx.de
- update to version 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. Closes issue #107.
Sat Mar 14 13:00:00 2015 arunAATTgmx.de
- update to version 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.
Wed Mar 11 13:00:00 2015 arunAATTgmx.de
- update to version 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.
Sat Jan 17 13:00:00 2015 arunAATTgmx.de
- specfile: update copyright year
- update to version 1.3.4:
* Get the first element from the method list when obtaining
the functions from nose.tools.trivial. Closes Pylint issue #448.
- changes from version 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.
Wed Dec 31 13:00:00 2014 arunAATTgmx.de
- specfile:
* added setuptools requirement
- update to version 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.
- changes from version 1.3.1:
* Fixed a crash issue with the pytest brain module.
- changes from version 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.
- changes from version 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.
- changes from version 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.
Thu Jul 10 14:00:00 2014 toddrme2178AATTgmail.com
- Update to 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.
- Update to 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.
Thu Nov 28 13:00:00 2013 toddrme2178AATTgmail.com
- Implement python 3 version
Thu Nov 28 13:00:00 2013 toddrme2178AATTgmail.com
- Rename to python-astroid to match new upstream name.
- Initial version 1.0.1
Wed Jun 19 14:00:00 2013 speilickeAATTsuse.com
- Use upstream URL
Fri May 31 14:00:00 2013 dmuellerAATTsuse.com
- update to 0.24.3:
* #124360 [py3.3]: Don\'t crash on \'yield from\' nodes
* #123062 [pylint-brain]: Use correct names for keywords for urlparse
* #123056 [pylint-brain]: Add missing methods for hashlib
* #123068: Fix inference for generator methods to correctly handle yields
* #123068: Make sure .as_string() returns valid code for yields in
expressions.
* #47957: Set literals are now correctly treated as inference leaves.
* #123074: Add support for inference of subscript operations on dict
literals.
* pylint-brain: more subprocess.Popen faking (see #46273)
* #109562 [jython]: java modules have no __doc__, causing crash
* #120646 [py3]: fix for python3.3 _ast changes which may cause crash
* #109988 [py3]: test fixes
* #106191: fix __future__ absolute import w/ From node
* #50395: fix function fromlineno when some decorator is splited on
multiple lines (patch by Mark Gius)
* #92362: fix pyreverse crash on relative import
* #104041: fix crash \'module object has no file_encoding attribute\'
* #4294 (pylint-brain): bad inference on mechanize.Browser.open
* #46273 (pylint-brain): bad inference subprocess.Popen.communicate
Thu Apr 26 14:00:00 2012 toddrme2178AATTgmail.com
- Add python 3 package
- Change license to LGPL 2.1+
Sat Feb 18 13:00:00 2012 toganmAATTopensuse.org
- update to version 0.23.1
* #62295: avoid \"OSError: Too many open files\" by moving
.file_stream as a Module property opening the file only when
needed
* Lambda nodes should have a `name` attribute
* only call transformers if modname specified
Thu Oct 6 14:00:00 2011 dmuellerAATTsuse.de
- make it build on old distros
Sun Sep 25 14:00:00 2011 saschpeAATTgmx.de
- Don\'t remove logilab/__init__.py on SLE, where it is not existing.
Wed Sep 21 14:00:00 2011 saschpeAATTsuse.de
- Update to version 0.22.0:
* added column offset information on nodes (patch by fawce)
* #70497: Crash on AttributeError: \'NoneType\' object has no attribute \'_infer_name\'
* #70381: IndendationError in import causes crash
* #70565: absolute imports treated as relative (patch by Jacek Konieczny)
* #70494: fix file encoding detection with python2.x
* py3k: __builtin__ module renamed to builtins, we should consider this to properly
build ast for builtin objects
- Run testsuite
- Removed outdated stuff from spec file (%clean section, authors, ...)
- Set license to GPL-2.0+ (SPDX style)
Tue Apr 12 14:00:00 2011 hpjAATTurpla.net
- update to 0.21.1:
* python3: handle file encoding; fix a lot of tests
* fix #52006: \"True\" and \"False\" can be assigned as variable in Python2x
* fix #8847: pylint doesn\'t understand function attributes at all
* fix #8774: iterator / generator / next method
Fri Jan 7 13:00:00 2011 hpjAATTurpla.net
- update to 0.21.0:
* python3.x: first python3.x release
* fix #37105: Crash on AttributeError: \'NoneType\' object has no attribute \'_infer_name\'
* python2.4: drop python < 2.4 support
- 0.20.4:
* fix #37868 #37665 #33638 #37909: import problems with absolute_import_activated
* fix #8969: false positive when importing from zip-safe eggs
* fix #46131: minimal class decorator support
* minimal python2.7 support (dict and set comprehension)
* important progress on Py3k compatibility
Wed Sep 29 14:00:00 2010 dmuellerAATTsuse.de
- update to 0.20.3:
* fix #45959: AttributeError: \'NoneType\' object has no attribute \'frame\', due
to handling of __class__ when importing from living object (because of missing
source code or C-compiled object)
* fix astng building bug: we\'ve to set module.package flag at the node
creation time otherwise we\'ll miss this information when infering relative
import during the build process (this should fix for instance some problems
with numpy)
* added __subclasses__ to special class attribute
* fix Class.interfaces so that no InferenceError raised on empty __implements__
* yield YES on multiplication of tuple/list with non valid operand
* fix licensing to LGPL
* add ALL_NODES_CLASSES constant to nodes module
* nodes redirection cleanup (possible since refactoring)
* bug fix for python < 2.5: add Delete node on Subscript nodes if we are in a
del context
Wed Apr 7 14:00:00 2010 dmuellerAATTsuse.de
- update to 0.20.0 (bnc#555993):
* fix #20464: raises “TypeError: \'_Yes\' object is not iterable” on list inference
* fix #19882: pylint hangs
* fix #20759: crash on pyreverse UNARY_OP_METHOD KeyError \'~\'
* fix #20760: crash on pyreverse : AttributeError: \'Subscript\'
object has no attribute \'infer_lhs\'
* fix #21980: [Python-modules-team] Bug#573229 : Pylint hangs;
improving the cache yields a speed improvement on big projects
* major refactoring: rebuild the tree instead of modify / monkey patching
* fix #19641: \"maximum recursion depth exceeded\" messages w/ python 2.6
this was introduced by a refactoring
* Ned Batchelder patch to properly import eggs with Windows line
endings. This fixes a problem with pylint not being able to
import setuptools.
* Winfried Plapper patches fixing .op attribute value for AugAssign nodes,
visit_ifexp in nodes_as_string
* Edward K. Ream / Tom Fleck patch closes #19641 (maximum recursion depth
exceeded\" messages w/ python 2.6), see https://bugs.launchpad.net/pylint/+bug/456870
* fix #18773: inference bug on class member (due to bad handling of instance
/ class nodes \"bounded\" to method calls)
* fix #9515: strange message for non-class \"Class baz has no egg member\" (due to
bad inference of function call)
* fix #18953: inference fails with augmented assignment (special case for augmented
assignement in infer_ass method)
* fix #13944: false positive for class/instance attributes (Instance.getattr
should return assign nodes on instance classes as well as instance.
* include spelling fixes provided by Dotan Barak
Wed Sep 16 14:00:00 2009 poemlAATTsuse.de
- fix build on SLE10 by not including %{py_sitedir}/
*egg-info in
the filelist there
Wed Sep 16 14:00:00 2009 poemlAATTsuse.de
- update to 0.19.1
2009-08-27 -- 0.19.1
* fix #8771: crash on yield expression
* fix #10024: line numbering bug with try/except/finally
* fix #10020: when building from living object, __name__ may be None
* fix #9891: help(logilab.astng) throws TypeError
* fix #9588: false positive E1101 for augmented assignment
- adjusted sip-c-instance-fix.diff
Mon Sep 7 14:00:00 2009 dmuellerAATTsuse.de
- build as noarch
Sun Aug 9 14:00:00 2009 cooloAATTnovell.com
- use new python macros
Thu Aug 6 14:00:00 2009 hpjAATTurpla.net
- apply fix from Derek Harland to handle python-sip C instance methods
correctly
Wed Aug 5 14:00:00 2009 hpjAATTurpla.net
- Update to version 0.19.0:
* fixed python 2.6 issue (tests ok w/ 2.4, 2.5, 2.6. Anyone using 2.2 / 2.3
to tell us if it works?)
* some understanding of the __builtin__.property decorator
* inference: introduce UnboundMethod / rename InstanceMethod to BoundMethod
2009-03-19 -- 0.18.0
* major api / tree structure changes to make it works with compiler
*and
*
python >= 2.5 _ast module
* cleanups and refactoring on the way
2008-11-19 -- 0.17.4
* fix #6015: filter statements bug triggering W0631 false positive in pylint
* fix #5571: Function.is_method() should return False on module level
functions decorated by staticmethod/classmethod (avoid some crash in pylint)
* fix #5010: understand python 2.5 explicit relative imports