Accepting request 290995 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/290995 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=9
This commit is contained in:
commit
b94282863f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:0b453eaa4f48aaa25a007ede7165aa424d83d4a14fd3bd636dc9c77f83e8e9bb
|
|
||||||
size 146809
|
|
3
astroid-1.3.6.tar.gz
Normal file
3
astroid-1.3.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1241ef961448c57b4616beb8dcc959724641dca1e22914663f79d67fec26f854
|
||||||
|
size 153863
|
@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 16 12:20:32 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
|
- Update to 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.
|
||||||
|
* 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.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Feb 18 13:04:51 UTC 2015 - mcihar@suse.cz
|
Wed Feb 18 13:04:51 UTC 2015 - mcihar@suse.cz
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-astroid
|
# spec file for package python-astroid
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: python-astroid
|
Name: python-astroid
|
||||||
Version: 1.3.4
|
Version: 1.3.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://bitbucket.org/logilab/astroid
|
Url: http://bitbucket.org/logilab/astroid
|
||||||
Summary: Rebuild a new abstract syntax tree from Python's ast
|
Summary: Rebuild a new abstract syntax tree from Python's ast
|
||||||
|
Loading…
Reference in New Issue
Block a user