]> granicus.if.org Git - python/commit
Close #13072: Restore code before the PEP 393 for the array module
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 5 Aug 2012 22:46:05 +0000 (00:46 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 5 Aug 2012 22:46:05 +0000 (00:46 +0200)
commit62bb394729a167a46d950954c4aed5f3ba7b8a69
tree734100e548a373ceaed15000bc94cd2fed6c82c6
parent3af26174016fc5547a36fba37cacfaeaac9a9b6e
Close #13072: Restore code before the PEP 393 for the array module

'u' format of the array module uses again Py_UNICODE type for backward
compatibility with Python 3.2.

The only change from Python 3.2 is that PyUnicode_AsUnicode() result is now
checked for NULL value.
Doc/library/array.rst
Modules/arraymodule.c