Path to this page:
Subject: CVS commit: pkgsrc/devel/py-astroid
From: Adam Ciarcinski
Date: 2017-12-21 10:57:45
Message id: 20171221095745.18B55FB40@cvs.NetBSD.org
Log Message:
astroid: updated to 1.6.0
1.6.0:
* When verifying duplicates classes in MRO, ignore on-the-fly generated classes
* Add brain tip for attrs library to prevent unsupported-assignment-operation \
false positives
* file_stream was removed, since it was deprecated for three releases
Instead one should use the .stream() method.
* Vast improvements to numpy support
* Add brain tips for curses
* Add brain tips for UUID.int
* The result of using object.__new__ as class decorator is correctly inferred as \
instance
* Enums created with functional syntax are now iterable
* Enums created with functional syntax are now subscriptable
* Don't crash when getting the string representation of BadUnaryOperationMessage
In some cases, when the operand does not have a .name attribute,
getting the string representation of a BadUnaryOperationMessage leads
to a crash.
* Don't raise DuplicateBaseError when classes at different locations are used
For instance, one can implement a namedtuple base class, which gets reused
on a class with the same name later on in the file. Until now, we considered
these two classes as being the same, because they shared the name, but in fact
they are different, being created at different locations and through different
means.
* The func form of namedtuples with keywords is now understood
* Dunder class at method level is now inferred as the class of the method
Files: