Message120734
Patch including tests is in attachment.
I think I've just found two further bugs though:
>>> tempfile.TemporaryFile().name
'<fdopen>'
>>> tempfile.TemporaryFile(prefix='xxx').name
'<fdopen>'
>>> tempfile.SpooledTemporaryFile().name
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/giampaolo/svn/python-2.7/Lib/tempfile.py", line 574, in name
return self._file.name
AttributeError: 'cStringIO.StringO' object has no attribute 'name'
I'm going to open two separate tickets. |
|
Date |
User |
Action |
Args |
2010-11-08 12:04:59 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, eric.smith |
2010-11-08 12:04:59 | giampaolo.rodola | set | messageid: <1289217899.27.0.314434224421.issue10354@psf.upfronthosting.co.za> |
2010-11-08 12:04:57 | giampaolo.rodola | link | issue10354 messages |
2010-11-08 12:04:57 | giampaolo.rodola | create | |
|