[issue30863] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2018-10-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ __

[issue30863] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2018-10-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset c46db9232f1a6e0e3c33053549d03d4335db9dca by Serhiy Storchaka in branch 'master': bpo-30863: Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString(). (GH-2599) https://github.com/python/cpython/commit/c46db9232f1a6e0e3c33053549d03d4335

[issue30863] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2018-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Only after removing PyUnicode_AsUnicodeAndSize() and related PyArg_ParseTuple codes. -- ___ Python tracker ___ ___

[issue30863] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2018-07-23 Thread STINNER Victor
STINNER Victor added the comment: Would it be possible to remove the wchar_t* cache? -- ___ Python tracker ___ ___ Python-bugs-list

[issue30863] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2018-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Victor already wrote similar patch in issue22323. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue30863] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2018-07-23 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- Removed message: https://bugs.python.org/msg322251 ___ Python tracker ___ ___ Python-bugs-list maili

[issue30863] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2018-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Victor already wrote similar patch in issue16254. -- ___ Python tracker ___ ___ Python-bugs-lis

[issue30863] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2017-07-06 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- pull_requests: +2667 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue30863] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2017-07-06 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Since Python 3.3 PyUnicode_AsUnicodeAndSize() is deprecated in favour of PyUnicode_AsWideChar() and PyUnicode_AsWideCharString(). But the latter two are implemented using PyUnicode_AsUnicodeAndSize(). This prevents adding the deprecation compiler warning f