Commit Graph

110 Commits

Author SHA256 Message Date
Stephan Kulow
e4781e1879 Accepting request 259679 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/259679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=5
2014-11-05 14:55:05 +00:00
Michal Čihař
6ea5416d83 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
2014-11-04 16:42:08 +00:00
f948cef7dd Accepting request 244309 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/244309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=3
2014-08-13 15:08:16 +00:00
Denisart Benjamin
f422f5db3b Accepting request 244298 from home:Nijel:branches:devel:languages:python
- Update to 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.

OBS-URL: https://build.opensuse.org/request/show/244298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=6
2014-08-12 10:49:54 +00:00
Stephan Kulow
fe596a8a15 Accepting request 241906 from devel:languages:python
Update to 1.1.1

python-logilab-common is in openSUSE:Factory so this builds now.

OBS-URL: https://build.opensuse.org/request/show/241906
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=2
2014-07-23 20:07:02 +00:00
Todd R
83d95643b3 Accepting request 240195 from home:TheBlackCat:branches:devel:languages:python
Update to 1.1.1

OBS-URL: https://build.opensuse.org/request/show/240195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=5
2014-07-10 13:22:28 +00:00
Stephan Kulow
f8845fdca6 Accepting request 208820 from devel:languages:python
This is a renamed version of python-logilab-astng.  It is needed for the new version of python-pylint, which is already in openSUSE:Factory

OBS-URL: https://build.opensuse.org/request/show/208820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=1
2013-12-03 09:31:39 +00:00
Todd R
8fa2afc49b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=3 2013-11-28 14:55:58 +00:00
Todd R
c74a9b4256 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=2 2013-11-28 14:54:44 +00:00
Todd R
ad7b1cd997 Accepting request 208818 from home:TheBlackCat:branches:devel:languages:python
Renamed python-logilab-astng

OBS-URL: https://build.opensuse.org/request/show/208818
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=1
2013-11-28 14:49:38 +00:00