forked from pool/python-astroid
Accepting request 259678 from home:Nijel:branches:devel:languages:python
- Update to 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.
- Use upstream zip for packaging as .tar.gz is no longer provided
OBS-URL: https://build.opensuse.org/request/show/259678
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
f422f5db3b
commit
6ea5416d83
@@ -17,16 +17,17 @@
|
||||
|
||||
|
||||
Name: python-astroid
|
||||
Version: 1.2.0
|
||||
Version: 1.2.1
|
||||
Release: 0
|
||||
Url: http://bitbucket.org/logilab/astroid
|
||||
Summary: Rebuild a new abstract syntax tree from Python's ast
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Libraries/Python
|
||||
Source: https://pypi.python.org/packages/source/a/astroid/astroid-%{version}.tar.gz
|
||||
Source: https://pypi.python.org/packages/source/a/astroid/astroid-%{version}.zip
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-logilab-common
|
||||
BuildRequires: unzip
|
||||
Requires: python-logilab-common
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
|
||||
Reference in New Issue
Block a user