Message105872
In python trunk, _set_invalid_parameter_handler() has been dropped and replaced by custom checking functions, but in msvcrt.get_osfhandle() these checks aren't present, so providing a bad FD leads to a crash.
Here is the little fix + a test (added to test_fileio, because I can't find unit tests for the msvcrt builtin, and similar "bad fd" cases are treated there). |
|
Date |
User |
Action |
Args |
2010-05-16 18:22:13 | pakal | set | recipients:
+ pakal |
2010-05-16 18:22:13 | pakal | set | messageid: <1274034133.01.0.249446827178.issue8734@psf.upfronthosting.co.za> |
2010-05-16 18:22:11 | pakal | link | issue8734 messages |
2010-05-16 18:22:11 | pakal | create | |
|