STINNER Victor <victor.stin...@haypocalc.com> added the comment: Attached: quick and dirty test to check if the standard input is buffered or not. My short test program works with python2.5 and py3k trunk without the -u command line option. So changing sys.stdin buffer is not really important.
About the wrong name, I opened a separated issue: #4762, PyFile_FromFd() doesn't set the file name. Added file: http://bugs.python.org/file12479/test_stdin.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4705> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com