消息 [196192]
On Windows, Python 3.3.2, when I run Python as a subprocess via Popen("py -i somescript.py", stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate() and somescript.py ends with exception, there is first interactive promt ">>>" in stderr output and then the traceback which is reversed to standard order when somescript.py is run interactively directly.
Corresponding StackOverflow question: http://stackoverflow.com/questions/18419724/position-of-prompt-in-stderr-after-systemexit . |
|
| 日期 |
用户 |
动作 |
参数 |
| 2013-08-26 09:05:07 | Drekin | 修改 | recipients:
+ Drekin |
| 2013-08-26 09:05:07 | Drekin | 修改 | messageid: <1377507907.91.0.430796932988.issue18838@psf.upfronthosting.co.za> |
| 2013-08-26 09:05:07 | Drekin | 链接 | issue18838 messages |
| 2013-08-26 09:05:07 | Drekin | 创建 | |
|