[issue36299] array: Deprecate 'u' type in array module

Inada Naoki report at bugs.python.org
Wed Apr 22 20:47:43 EDT 2020


Inada Naoki <songofacandy at gmail.com> added the comment:

While array('u') doesn't use deprecated API with GH-19653, I still don't like 'u' because:

* I don't have any reason to use platform dependant wchar_t. [1]
* It is not consistent with PEP-3118.

[1]: https://mail.python.org/pipermail/python-dev/2019-March/156807.html

How about this plan?

* Add 'w' for Py_UCS4.
* Deprecate 'u', and remove it in the future.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36299>
_______________________________________


More information about the Python-bugs-list mailing list