Message166259
I've attached a new example source file to demonstrate the fix.
Compile the attached program with (*after* patching and installing Python):
> gcc `python-config --cflags` working2.c -o working2 `python-config --ldflags`
and run it with:
> ./working2 xterm -S/0 < /dev/null > /dev/null
(The redirection shows that it works when stdin/stdout aren't a tty.)
I looked at the most-recent revision of tokenizer.c (http://hg.python.org/cpython/file/52032b13243e/Parser/tokenizer.c) and see that the change in my patch above hasn't been made already.
Kevin Barry |
|
Date |
User |
Action |
Args |
2012-07-24 01:39:10 | Kevin.Barry | set | recipients:
+ Kevin.Barry |
2012-07-24 01:39:10 | Kevin.Barry | set | messageid: <1343093950.12.0.473762508892.issue14916@psf.upfronthosting.co.za> |
2012-07-24 01:39:09 | Kevin.Barry | link | issue14916 messages |
2012-07-24 01:39:09 | Kevin.Barry | create | |
|