From f3ba169db54bd56cda4a1bada30b9d1c748146a356445663654d53ff1207d0e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Wed, 18 Feb 2015 13:51:04 +0000 Subject: [PATCH] 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 --- astroid-1.3.2.tar.gz | 3 --- astroid-1.3.4.tar.gz | 3 +++ python-astroid.changes | 29 +++++++++++++++++++++++++++++ python-astroid.spec | 4 ++-- 4 files changed, 34 insertions(+), 5 deletions(-) delete mode 100644 astroid-1.3.2.tar.gz create mode 100644 astroid-1.3.4.tar.gz diff --git a/astroid-1.3.2.tar.gz b/astroid-1.3.2.tar.gz deleted file mode 100644 index 1a908b9..0000000 --- a/astroid-1.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9d1f1803958238e93f2c17e1b38cecfa5bcca40c1bbb99aea80fe10c596f45c1 -size 138458 diff --git a/astroid-1.3.4.tar.gz b/astroid-1.3.4.tar.gz new file mode 100644 index 0000000..6f7ce18 --- /dev/null +++ b/astroid-1.3.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b453eaa4f48aaa25a007ede7165aa424d83d4a14fd3bd636dc9c77f83e8e9bb +size 146809 diff --git a/python-astroid.changes b/python-astroid.changes index a860927..d050fe9 100644 --- a/python-astroid.changes +++ b/python-astroid.changes @@ -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 diff --git a/python-astroid.spec b/python-astroid.spec index 1d81e37..295ecf0 100644 --- a/python-astroid.spec +++ b/python-astroid.spec @@ -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