STINNER Victor <victor.stin...@haypocalc.com> added the comment:

_Py_wchar2char.patch: create _Py_wchar2char() private function, and _wstat() 
and _wfopen() use it. _Py_wchar2char() function has been improved since the 
previous version posted to Rietveld: it now computes the exact length of the 
output buffer, instead of using wcslen(text)*10+1.

Alone, this patch isn't really useful, but it prepares the code for next 
patches.

----------
keywords: +patch
Added file: http://bugs.python.org/file18431/_Py_wchar2char.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9425>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to