]> granicus.if.org Git - python/commit
SF patch #438013 Remove 2-byte Py_UCS2 assumptions
authorTim Peters <tim.peters@gmail.com>
Thu, 9 Aug 2001 22:21:55 +0000 (22:21 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 9 Aug 2001 22:21:55 +0000 (22:21 +0000)
commit772747b3f1f4d6a70c025a7368ed25f039ccff1d
tree0c87c4e82b3bcb19f7532d916fd028d156ab76f8
parentab9ba27dc066adc6423ea137b9481cf524d10ffd
SF patch #438013 Remove 2-byte Py_UCS2 assumptions
Removed all instances of Py_UCS2 from the codebase, and so also (I hope)
the last remaining reliance on the platform having an integral type
with exactly 16 bits.
PyUnicode_DecodeUTF16() and PyUnicode_EncodeUTF16() now read and write
one byte at a time.
Include/unicodeobject.h
Objects/unicodeobject.c