This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Kevin.Barry
Recipients Kevin.Barry
Date 2012-07-24.01:39:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343093950.12.0.473762508892.issue14916@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2012-07-24 01:39:10Kevin.Barrysetrecipients: + Kevin.Barry
2012-07-24 01:39:10Kevin.Barrysetmessageid: <1343093950.12.0.473762508892.issue14916@psf.upfronthosting.co.za>
2012-07-24 01:39:09Kevin.Barrylinkissue14916 messages
2012-07-24 01:39:09Kevin.Barrycreate