Message310238
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. |
|
Date |
User |
Action |
Args |
2018-01-18 13:55:49 | matrixise | set | recipients:
+ matrixise, skip.montanaro, docs@python |
2018-01-18 13:55:49 | matrixise | set | messageid: <1516283749.73.0.467229070634.issue32594@psf.upfronthosting.co.za> |
2018-01-18 13:55:49 | matrixise | link | issue32594 messages |
2018-01-18 13:55:49 | matrixise | create | |
|