[issue4653] Patch to fix typos for Py3K

2008-12-18 Thread Johnny Lee
Johnny Lee added the comment: > It's difficult to really test such errors. When I can't control the called function, I usually step through the code in a debugger and change the result variable in question to the appropriate value to see if the code handles failed function cal

[issue4653] Patch to fix typos for Py3K

2008-12-16 Thread Johnny Lee
Johnny Lee added the comment: attached modified diff patch so line length <=79 chars Added file: http://bugs.python.org/file12374/py30dif2.txt ___ Python tracker <http://bugs.python.org/iss

[issue4653] Patch to fix typos for Py3K

2008-12-16 Thread Johnny Lee
Changes by Johnny Lee : Removed file: http://bugs.python.org/file12335/py30diff.txt ___ Python tracker <http://bugs.python.org/issue4653> ___ ___ Python-bugs-list mailin

[issue4653] Patch to fix typos for Py3K

2008-12-13 Thread Johnny Lee
Johnny Lee added the comment: For the dynload_win.c typo, it's technically a possible buffer overflow, but you'd need to find an error that had an error message that's longer than 259 chars. In pythonrun.c, the if statements for fout and ferr and almost identical. Probably

[issue4653] Patch to fix typos for Py3K

2008-12-13 Thread Johnny Lee
Johnny Lee added the comment: Here are the URLs to the MSDN documentation for CreateFileMapping and FormatMessage[A|W]: <http://msdn.microsoft.com/en-us/library/aa366537.aspx> <http://msdn.microsoft.com/en-us/library/ms679351.aspx> For CreateFileMapping(), from the Return Value

[issue4653] Patch to fix typos for Py3K

2008-12-12 Thread Johnny Lee
New submission from Johnny Lee : I ran my typo.pl perl script that locates possible C/C++ typos. I found four that looked valid. Two of the typos were in the Python directory {pythonrun.c, dynload_win.c}, two were in PC/bdist_wininst {install.c, extract.c}. Python/dynload_win.c: Win32 API