Message125947
| Author |
amaury.forgeotdarc |
| Recipients |
David.Sankel, amaury.forgeotdarc, brian.curtin, christian.heimes, christoph, davidsarah, ezio.melotti, lemburg, mark, pitrou, ssbarnea, tim.golden, tzot, v+python, vstinner |
| Date |
2011年01月10日.22:47:09 |
| SpamBayes Score |
0.0008901673 |
| Marked as misclassified |
No |
| Message-id |
<1294699630.31.0.80037247252.issue1602@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|