./devel/py-astroid, Rebuild a new abstract syntax tree from Pythons ast

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.0.4, Package name: py27-astroid-2.0.4, Maintainer: kamel.derouiche

The aim of this module is to provide a common base representation of
python source code for projects such as pychecker, pyreverse,
pylint... Well, actually the development of this library is essentially
governed by pylint's needs. It used to be called logilab-astng


Required to run:
[devel/py-setuptools] [lang/python27] [lang/py-six] [devel/py-wrapt] [devel/py-lazy-object-proxy]

Required to build:
[pkgtools/cwrappers] [devel/py-test-runner]

Master sites:

SHA1: d06c88f278df392176968df5594c324f7e8ed9b9
RMD160: 4f525192794b7c408c719e4d9731801c2a697b96
Filesize: 267.452 KB

Version history: (Expand)


CVS history: (Expand)


   2018-08-10 14:16:23 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 2.0.4

2.0.4:
Make sure that assign nodes can find ``yield`` statements in their values

2.0.3:
The environment markers for PyPy were invalid.
   2018-08-02 17:13:34 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 2.0.2

What's New in astroid 2.0.2?
   * Stop repeat inference attempt causing a RuntimeError in Python3.7

   *  infer_call_result can raise InferenceError so make sure to handle that for \ 
the call sites
      where it is used

     infer_call_result started recently to raise InferenceError for objects for \ 
which it
     could not find any returns. Previously it was silently raising a StopIteration,
     which was especially leaking when calling builtin methods.
     Since it is after all an inference method, it is expected that it
     could raise an InferenceError rather than returning nothing.
   2018-07-24 08:13:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 2.0.1

2.0.1:
Released to clear an old wheel package on PyPI
   2018-07-17 12:05:46 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-astroid: updated to 2.0

astroid 2.0:
* String representation of nodes takes in account precedence and associativity \ 
rules of operators.
* Fix loading files with modutils.load_from_module when
  the path that contains it in sys.path is a symlink and
  the file is contained in a symlinked folder.
* Reworking of the numpy brain dealing with numerictypes
  (use of inspect module to determine the class hierarchy of
   numpy.core.numerictypes module)
* Added inference support for starred nodes in for loops
* Support unpacking for dicts in assignments
* Add support for inferring functools.partial
* Inference support for dict.fromkeys
* int() builtin is inferred as returning integers.
* str() builtin is inferred as returning strings.
* DescriptorBoundMethod has the correct number of arguments defined.
* Improvement of the numpy numeric types definition.
* Subclasses of *property* are now interpreted as properties
* AsStringRegexpPredicate has been removed.
  Use transform predicates instead of it.
* Switched to using typed_ast for getting access to type comments
  As a side effect of this change, some nodes gained a new type_annotation attribute,
  which, if the type comments were correctly parsed, should contain a node object
  with the corresponding objects from the type comment.
* typing.X[...] and typing.NewType are inferred as classes instead of instances.
* Module.__path__ is now a list
  It used to be a string containing the path, but it doesn't reflect the situation
  on Python, where it is actually a list.
* Fix a bug with namespace package's __path__ attribute.
* Added brain tips for random.sample
* Add brain tip for issubclass builtin
* Fix submodule imports from six
* Fix missing __module__ and __qualname__ from class definition locals
* Fix a crash when __annotations__ access a parent's __init__ that does not have \ 
arguments
* Fix multiple objects sharing the same InferenceContext.path causing \ 
uninferable results
* Fix improper modification of col_offset, lineno upon inference of builtin functions
* Subprocess.Popen brain now knows of the args member
* add move_to_end method to collections.OrderedDict brain
* Include new hashlib classes added in python 3.6
* Fix RecursionError for augmented assign
* Add missing attrs special attribute
* Inference now understands the 'isinstance' builtin
* Stop duplicate nodes with the same key values
  from appearing in dictionaries from dictionary unpacking.
* Fix contextlib.contextmanager inference for nested context managers
* Implement inference for len builtin
* Add qname method to Super object preventing potential errors in upstream
  pylint
* Stop astroid from getting stuck in an infinite loop if a function shares
its name with its decorator
* Fix issue with inherited __call__ improperly inferencing self
* Fix __call__ precedence for classes with custom metaclasses
* Limit the maximum amount of interable result in an NodeNG.infer() call to
 100 by default for performance issues with variables with large amounts of
 possible values.
 The max inferable value can be tuned by setting the max_inferable_values flag on
 astroid.MANAGER.
   2018-06-07 08:33:54 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 1.6.5

1.6.5
*  Don't propagate Uninferable objects when inferring BinOps
*  Protect against passing lookup_class to non-class proxied objects
   In some cases the _proxied object points to another Instance, not to the
   Class of an Instance node (usually this happens with enum and with our
   hardcoded inference support for this library). Instead of getting a TypeError,
   we check before if the _proxied matches what we expect.
   2018-05-16 08:54:20 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-astroid: updated to 1.6.4

1.6.4
* Skip non-attrs specific attributes in attr wrapped classes.
* Add brain tip for numpy.sum.
* deque.rotate has a default parameter.
   2018-04-06 13:51:27 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 1.6.3

1.6.3:
Bug fixes.
   2018-03-17 07:52:50 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-astroid: updated to 1.6.2

1.6.2
* Fix submodule imports from six
* Enhancement of brain_numpy by adding different types from
  numpy.core.numerictypes
* Fix RecursionError for augmented assign
* Stop most inference tip overwrites from happening by using
  predicates on existing inference_tip transforms.
* Add missing attrs special attribute
* Fix contextlib.contextmanager inference for nested context managers