[issue4653] Patch to fix typos for Py3K

Alexander Belopolsky report at bugs.python.org
Fri May 28 06:46:47 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

I don't run Windows either but I believe sizeof(char) == 1 is guaranteed by the C standard, so the first report (Python/dynload_win.c) is invalid.

The last two appear to be valid [1], and a common mistake. [2]  Unit tests are needed for these.  I also notice that r81156 does not add a unit test either.  ISTM, a test case can be crafted by setting sys.stderr to None.

[1] http://msdn.microsoft.com/en-us/library/aa366537(VS.85).aspx
[2] http://blogs.msdn.com/b/oldnewthing/archive/2004/03/02/82639.aspx

----------
components: +Windows
nosy: +belopolsky
stage: commit review -> unit test needed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4653>
_______________________________________


More information about the Python-bugs-list mailing list