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 terry.reedy
Recipients georg.brandl, jtaylor, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, terry.reedy
Date 2013-05-10.19:01:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368212483.36.0.310690923199.issue17895@psf.upfronthosting.co.za>
In-reply-to
Content
Given that the changed behavior is documented and pretty obviously intentional, it is not a bug. The proposal would have to be that we 'enhance' 3.4 *or later* by reverting back to the 2.x -- and possibly break 3.0 to 3.3 code. We are not going to do that without extremely good reason.

For a nameless file, using the integer fd as a 'name' seems more truthful than '<fdopen>'. I believe the latter can be a actual filename on *nix. On Windows, while Explorer rejects it, there may be ways to bypass the check. The integer fd is also more useful than None and 'isintance(x.name, int)' is as easy to check as 'x.name is None'.
History
Date User Action Args
2013-05-10 19:01:23terry.reedysetrecipients: + terry.reedy, georg.brandl, ncoghlan, pitrou, r.david.murray, jtaylor, serhiy.storchaka
2013-05-10 19:01:23terry.reedysetmessageid: <1368212483.36.0.310690923199.issue17895@psf.upfronthosting.co.za>
2013-05-10 19:01:23terry.reedylinkissue17895 messages
2013-05-10 19:01:23terry.reedycreate