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 matrixise
Recipients docs@python, matrixise, skip.montanaro
Date 2018-01-18.13:55:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516283749.73.0.467229070634.issue32594@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-01-18 13:55:49matrixisesetrecipients: + matrixise, skip.montanaro, docs@python
2018-01-18 13:55:49matrixisesetmessageid: <1516283749.73.0.467229070634.issue32594@psf.upfronthosting.co.za>
2018-01-18 13:55:49matrixiselinkissue32594 messages
2018-01-18 13:55:49matrixisecreate