New submission from Ryan Leslie ryle...@gmail.com:
Python 2.6.1 (r261:67515, Apr 2 2009, 18:25:55)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type help, copyright, credits or license for more information.
import sys, os
os.path.sameopenfile(sys.stdin.fileno(), sys.stdout.fileno())
True
Philip Jenvey pjen...@users.sourceforge.net added the comment:
They are the same file, namely your tty
Python 2.6 (r26:66714, Oct 8 2008, 22:16:30)
[GCC 4.0.1 (Apple Inc. build 5465)] on darwin
Type help, copyright, credits or license for more information.
import os, sys
Changes by R. David Murray rdmur...@bitdance.com:
--
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6082
___
Ryan Leslie ryle...@gmail.com added the comment:
Thanks for the quick response, Philip. Makes even more sense now that I see:
Python 2.6.1 (r261:67515, Apr 2 2009, 18:25:55)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type help, copyright, credits or license for more information.
Changes by Ryan Leslie ryle...@gmail.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6082
___
___
Python-bugs-list