forked from pool/python-astroid
Accepting request 286631 from home:Nijel:branches:devel:languages:python
- Update to 1.3.4:
* Get the first element from the method list when obtaining
the functions from nose.tools.trivial. Closes Pylint issue #448.
* 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.
OBS-URL: https://build.opensuse.org/request/show/286631
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
74dc46bc9b
commit
f3ba169db5
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d1f1803958238e93f2c17e1b38cecfa5bcca40c1bbb99aea80fe10c596f45c1
|
||||
size 138458
|
||||
3
astroid-1.3.4.tar.gz
Normal file
3
astroid-1.3.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0b453eaa4f48aaa25a007ede7165aa424d83d4a14fd3bd636dc9c77f83e8e9bb
|
||||
size 146809
|
||||
@@ -1,3 +1,32 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 18 13:04:51 UTC 2015 - mcihar@suse.cz
|
||||
|
||||
- Update to 1.3.4:
|
||||
* Get the first element from the method list when obtaining
|
||||
the functions from nose.tools.trivial. Closes Pylint issue #448.
|
||||
* 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 8 12:11:48 UTC 2014 - mcihar@suse.cz
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-astroid
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
Name: python-astroid
|
||||
Version: 1.3.2
|
||||
Version: 1.3.4
|
||||
Release: 0
|
||||
Url: http://bitbucket.org/logilab/astroid
|
||||
Summary: Rebuild a new abstract syntax tree from Python's ast
|
||||
|
||||
Reference in New Issue
Block a user