Message125947
Even if python.exe starts normally, py.test for example uses os.dup2() to redirect the file descriptors 1 and 2 to temporary files. sys.stdout.fileno() is still 1, the STD_OUTPUT_HANDLE did not change, but normal print() now goes to a file; but the proposed script won't detect this and will write to the console...
Somehow we should extract the file handle from the file descriptor, with a call to _get_osfhandle() for example. |
|
Date |
User |
Action |
Args |
2011-01-10 22:47:10 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, lemburg, tzot, pitrou, vstinner, christian.heimes, tim.golden, mark, christoph, ezio.melotti, v+python, ssbarnea, brian.curtin, davidsarah, David.Sankel |
2011-01-10 22:47:10 | amaury.forgeotdarc | set | messageid: <1294699630.31.0.80037247252.issue1602@psf.upfronthosting.co.za> |
2011-01-10 22:47:09 | amaury.forgeotdarc | link | issue1602 messages |
2011-01-10 22:47:09 | amaury.forgeotdarc | create | |
|