Message249817
The attached recurses one level deep in Lib. Catching UnicodeDecodeError on file read is needed at least for "test/test_source_encoding.py 'utf-8' codec can't decode byte 0xf0 in position 267: invalid continuation byte". Catching "badxxx.py" is needed for several test/ modules.
This test may have found another hole: It prints
"C:/programs/Python35/Lib\distutils _msvccompiler.py None disallowed in expression list"
whereas
>>> compile(open('C:/programs/Python35/Lib\distutils\_msvccompiler.py').read(), '', 'exec')
<code object <module> at 0x00000000034A3F60, file "", line 8> |
|
Date |
User |
Action |
Args |
2015-09-04 19:54:15 | terry.reedy | set | recipients:
+ terry.reedy, brett.cannon, rhettinger, yselivanov |
2015-09-04 19:54:15 | terry.reedy | set | messageid: <1441396455.46.0.577114473097.issue24981@psf.upfronthosting.co.za> |
2015-09-04 19:54:15 | terry.reedy | link | issue24981 messages |
2015-09-04 19:54:15 | terry.reedy | create | |
|