commit | a3b334da6dd0477e5bf144934d184bc0b3e3779b | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Mon Oct 03 13:53:37 2011 +0200 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Mon Oct 03 13:53:37 2011 +0200 |
tree | 9f52ceabf86e5c992b45cfa8582cd98e1877031e | |
parent | 1b4f9ceca79206770215c9cbb0b2de532dba4aec [diff] |
PyUnicode_Ready() now sets ascii=1 if maxchar < 128 ascii=1 is no more reserved to PyASCIIObject. Use PyUnicode_IS_COMPACT_ASCII(obj) to check if obj is a PyASCIIObject (as before).