1
0
Commit Graph

114 Commits

Author SHA256 Message Date
Dominique Leuenberger
31f26b84dd Accepting request 264412 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/264412
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=7
2014-12-08 15:56:56 +00:00
Michal Čihař
74dc46bc9b Accepting request 264405 from home:Nijel:branches:devel:languages:python
- Update to 1.3.2:
    * Fixed a crash with invalid subscript index.
    * Implement proper base class semantics for Python 3, where
      every class derives from object.
    * Allow more fine-grained control over C extension loading
      in the manager.
    * Fixed a crash issue with the pytest brain module.

OBS-URL: https://build.opensuse.org/request/show/264405
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=12
2014-12-08 13:31:44 +00:00
Dominique Leuenberger
01f3106124 Accepting request 262555 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/262555
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-astroid?expand=0&rev=6
2014-11-24 10:08:58 +00:00
Michal Čihař
b03062858e Accepting request 262554 from home:Nijel:branches:devel:languages:python
- Update to 1.3.0:
    * Fix a maximum recursion error occured during the inference,
      where statements with the same name weren't filtered properly.
      Closes pylint issue #295.
    * Check that EmptyNode has an underlying object in
      EmptyNode.has_underlying_object.
    * Simplify the understanding of enum members.
    * Fix an infinite loop with decorator call chain inference,
      where the decorator returns itself. Closes issue #50.
    * Various speed improvements. Patch by Alex Munroe.
    * Add pytest brain plugin. Patch by Robbie Coomber.
    * Support for Python versions < 2.7 has been dropped, and the
      source has been made compatible with Python 2 and 3. Running
      2to3 on installation for Python 3 is not needed anymore.
    * astroid now depends on six.
    * modutils._module_file opens __init__.py in binary mode.
      Closes issues #51 and #13.
    * Only C extensions from trusted sources (the standard library)
      are loaded into the examining Python process to build an AST
      from the live module.
    * Path names on case-insensitive filesystems are now properly
      handled. This fixes the stdlib detection code on Windows.
    * Metaclass-generating functions like six.with_metaclass
      are now supported via some explicit detection code.
    * astroid.register_module_extender has been added to generalize
      the support for module extenders as used by many brain plugins.
    * brain plugins can now register hooks to handle failed imports, 
      as done by the gobject-introspection plugin.
    * The modules have been moved to a separate package directory,
      `setup.py develop` now works correctly.

OBS-URL: https://build.opensuse.org/request/show/262554
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-astroid?expand=0&rev=10
2014-11-21 09:01:07 +00:00
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