Paul Rubin wrote:
- array('u') works but it is deprecated, and (not sure) the doc page says the object size is 2 bytes, so it may only handle BMP characters
The docs actually say "Depending on the platform, it can be 16 bits or 32 bits". With Python 3.5 on MacOSX, it seems to work and hold the full range of unicode characters. Not sure why this is being deprecated instead of just making it always 32 bits. I'll make some enquiries. -- Greg -- https://mail.python.org/mailman/listinfo/python-list