Message188311
| 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:45 | r.david.murray | set | recipients:
+ r.david.murray, pitrou, jtaylor |
| 2013年05月03日 17:30:45 | r.david.murray | set | messageid: <1367602245.68.0.672718724017.issue17895@psf.upfronthosting.co.za> |
| 2013年05月03日 17:30:45 | r.david.murray | link | issue17895 messages |
| 2013年05月03日 17:30:45 | r.david.murray | create |
|