[issue22323] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString(): don't cache the result

2018-07-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oh, I have reimplemented this in issue30863. -- ___ Python tracker ___ ___ Python-bugs-list mai

[issue22323] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString(): don't cache the result

2015-10-02 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue22323] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString(): don't cache the result

2014-10-09 Thread STINNER Victor
Changes by STINNER Victor : -- title: Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString() -> Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString(): don't cache the result ___ Python tracker

[issue22323] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2014-09-06 Thread Antoine Pitrou
Antoine Pitrou added the comment: Hmm... sorry for the delay, there's no review link. Perhaps the patch is not against the latest default? -- ___ Python tracker ___

[issue22323] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2014-09-04 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue22323] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2014-09-02 Thread STINNER Victor
STINNER Victor added the comment: > There is no patch. You're right. Here it is. -- keywords: +patch Added file: http://bugs.python.org/file36527/unicode_aswidechar.patch ___ Python tracker ___

[issue22323] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2014-09-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Attached patch implements this. There is no patch. -- nosy: +pitrou ___ Python tracker ___ ___ Py

[issue22323] Rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString()

2014-09-01 Thread STINNER Victor
New submission from STINNER Victor: I would like to deprecate PyUnicode_AsUnicode(), see the issue #22271 for the rationale (hint: memory footprint). The first step is to rewrite PyUnicode_AsWideChar() and PyUnicode_AsWideCharString() to not call PyUnicode_AsUnicode() anymore. Attached patch