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 serhiy.storchaka
Recipients BreamoreBoy, docs@python, pitrou, python-dev, r.david.murray, rbcollins, serhiy.storchaka
Date 2014-10-20.08:02:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1413792149.47.0.0945880162279.issue17401@psf.upfronthosting.co.za>
In-reply-to
Content
FileIO repr now looks confusing:

>>> sys.stdout.buffer.raw
<_io.FileIO name='<stdout>' mode='wb' closefd='0'>

The closefd attribute is not a string '0' or '1', it is boolean value True or False. Here is a patch which fixes a repr.

And I think that documentation part of the patch should be backported.
History
Date User Action Args
2014-10-20 08:02:29serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, rbcollins, r.david.murray, docs@python, BreamoreBoy, python-dev
2014-10-20 08:02:29serhiy.storchakasetmessageid: <1413792149.47.0.0945880162279.issue17401@psf.upfronthosting.co.za>
2014-10-20 08:02:29serhiy.storchakalinkissue17401 messages
2014-10-20 08:02:29serhiy.storchakacreate