diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-01 18:49:47 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-12-01 18:49:47 +0200 |
commit | 2466e41279a9c54228df79baff694b38438b620d (patch) | |
tree | 8787105b275354b9228bf1d8d2854d26706c3383 /ChangeLog | |
parent | c486ba77ea44edc119e723286e26158a65436037 (diff) | |
download | astroid-2466e41279a9c54228df79baff694b38438b620d.tar.gz |
Use printf-style formatting in as_string, in order
to avoid a potential problem with encodings when using .format.
Closes issue #273.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -1,7 +1,22 @@ Change log for the astroid package (used to be astng) ===================================================== --- + * Revert to using printf-style formatting in as_string, in order + to avoid a potential problem with encodings when using .format. + Closes issue #273. + + * Add support for handling Uninferable nodes when calling as_string + + Some object, for instance List or Tuple can have, after inference, + Uninferable as their elements, happening when their components + weren't couldn't be inferred properly. This means that as_string + needs to cope with expecting Uninferable nodes part of the other + nodes coming for a string transformation. The patch adds a visit + method in AsString and ``accept`` on Yes / Uninferable nodes. + Closes issue #270. + + +2015-11-29 -- 1.4.0 * Class.getattr('__mro__') returns the actual MRO. Closes issue #128. |