Message276959
Serhiy Storchaka added the comment:
> The :c:type:`Py_UNICODE` has been deprecated by :pep:`393` and will be
> removed in Python 4. All functions using this type are deprecated:
Right... I tried to deprecate and remove all functions using
Py_UNICODE but it's hard to change all this code. I gave up :-)
> :c:func:`PyUnicode_AsUnicodeAndSize`: use :c:func:`PyUnicode_AsWideCharString`
Sadly, it's not exactly the same: PyUnicode_AsWideCharString returns a
new fresh buffer at each call. I'm not sure that it caches the result
neither.
Victor |
|
Date |
User |
Action |
Args |
2016-09-19 08:54:42 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, steve.dower |
2016-09-19 08:54:42 | vstinner | link | issue28200 messages |
2016-09-19 08:54:41 | vstinner | create | |
|