[issue25351] pyvenv activate script failure with specific bash option

2015-10-09 Thread s-wakaba
New submission from s-wakaba: When writing bash shellscripts, I always set options "set -ueC" for strict error checking. However, loading pyvenv's activate and deactivate scripts from bash with "-u" option, they are failure because they may refer undefined shell va

[issue25221] PyLong_FromLong() potentially returns irregular object when small_ints[] isn't used

2015-09-23 Thread s-wakaba
New submission from s-wakaba: When compiling cpython with specifying NSMALLPOSINTS and NSMALLNEGINTS macros as zero to skip making small_ints[] array, like following command, process couldn't finish. $ ./configure CPPFLAGS='-DNSMALLPOSINTS=0 -DNSMALLNEGINTS=0' $ make The

[issue25211] Error message formatting errors in int object unit-test script

2015-09-22 Thread s-wakaba
New submission from s-wakaba: I've found some parts there are illegal message formatting in int object unit test script "Lib/test/test_long.py" when hacking the interpreter. because they were an easy problem, I already fixed them to promote my work. Therefore, the patch ha