diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-02 21:57:39 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-09-02 21:57:39 +0300 |
commit | 7fdad16d7676c5e05cfbee5a884e95362d8a7604 (patch) | |
tree | 73badf25e8530340b3c425845f282fb9af42bcef /ChangeLog | |
parent | 9ef518aa8f2e32efeb6d9af6c20de35831b420c1 (diff) | |
download | astroid-7fdad16d7676c5e05cfbee5a884e95362d8a7604.tar.gz |
Add support for understanding class creation using `type.__new__(mcs, name, bases, attrs)``
Until now, inferring this kind of calls resulted in Instances, not in classes,
since astroid didn't understand that the presence of the metaclass in the call
leads to a class creationg, not to an instance creation.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -303,6 +303,13 @@ Change log for the astroid package (used to be astng) fact. Recommandations to move to the new nodes are emitted accordingly, the old names will be removed in astroid 2.0. + * Add support for understanding class creation using `type.__new__(mcs, name, bases, attrs)`` + + Until now, inferring this kind of calls resulted in Instances, not in classes, + since astroid didn't understand that the presence of the metaclass in the call + leads to a class creationg, not to an instance creation. + + 2015-03-14 -- 1.3.6 |