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 r.david.murray
Recipients jtaylor, pitrou, r.david.murray
Date 2013-05-03.17:30:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1367602245.68.0.672718724017.issue17895@psf.upfronthosting.co.za>
In-reply-to
Content
The 'name' attribute of TemporaryFile is not part of the API.  It happens to exist only because the underlying file object has a 'name' attribute.  On posix platforms the value is not really useful for anything.  In other words, that numpy code was buggy to start with, the bug was just hidden by the fact that in python2 name happened to be a string ('<fdopen>'), and nobody looked at the result.  What numpy was doing with it produced a nonsense value, but I guess nobody noticed.

Now, that said, I don't know why the value changed between Python2 and Python3, and that might conceivably be a bug of some sort.  I'm guessing it is a consequence of the IO system rewrite and is not a bug per-se, but it might also be that there are improvements that could be made here.
History
Date User Action Args
2013-05-03 17:30:45r.david.murraysetrecipients: + r.david.murray, pitrou, jtaylor
2013-05-03 17:30:45r.david.murraysetmessageid: <1367602245.68.0.672718724017.issue17895@psf.upfronthosting.co.za>
2013-05-03 17:30:45r.david.murraylinkissue17895 messages
2013-05-03 17:30:45r.david.murraycreate