[issue26217] Fatal error when importing ``test.test_os`` in debug mode on Windows

2016-01-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8de6f19afc86 by Victor Stinner in branch '3.5': Fix resize_compact() https://hg.python.org/cpython/rev/8de6f19afc86 -- nosy: +python-dev ___ Python tracker

[issue26217] Fatal error when importing ``test.test_os`` in debug mode on Windows

2016-01-27 Thread STINNER Victor
STINNER Victor added the comment: Hum, it looks like resize_compact() clears wstr, but don't reset wstr_length to 0. Attached patch should fix that. -- keywords: +patch nosy: +haypo Added file: http://bugs.python.org/file41728/wstr_len.patch ___

[issue26217] Fatal error when importing ``test.test_os`` in debug mode on Windows

2016-01-27 Thread Emanuel Barry
New submission from Emanuel Barry: I compiled CPython from latest trunk on GitHub (revision a587bc1eea903dfac94a85324cc6ab39755769a8), compiled with Py_DEBUG and went to run the test suite. Here's the (rather long) output: E:\GitHub\cpython\PCbuild\win32>python_d -m test == CPython 3.6.0a0

[issue26217] Fatal error when importing ``test.test_os`` in debug mode on Windows

2016-01-27 Thread Emanuel Barry
Emanuel Barry added the comment: This fixed it, thanks! -- stage: -> patch review ___ Python tracker ___ ___

[issue26217] Fatal error when importing ``test.test_os`` in debug mode on Windows

2016-01-27 Thread Emanuel Barry
Changes by Emanuel Barry : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___