Stéphane Wirtel <steph...@wirtel.be> added the comment: Hi Skip,
I only tested with the last revision of 2.7 Python 2.7.14+ (heads/2.7:b1a52b1167, Jan 18 2018, 14:53:29) [GCC 7.2.1 20170915 (Red Hat 7.2.1-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.stderr.name '<stderr>' >>> f = open(sys.stderr.fileno()) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: coercing to Unicode: need string or buffer, int found I can't create a file with an int. ---------- nosy: +matrixise _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32594> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com