summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2015-12-01 18:49:47 +0200
committerClaudiu Popa <pcmanticore@gmail.com>2015-12-01 18:49:47 +0200
commit2466e41279a9c54228df79baff694b38438b620d (patch)
tree8787105b275354b9228bf1d8d2854d26706c3383 /ChangeLog
parentc486ba77ea44edc119e723286e26158a65436037 (diff)
downloadastroid-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--ChangeLog17
1 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6b93e83..0da0bcf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.