[issue10355] SpooledTemporaryFile's name property is broken

Giampaolo Rodola' report at bugs.python.org
Mon Nov 8 13:14:02 CET 2010


New submission from Giampaolo Rodola' <g.rodola at gmail.com>:

>>> import tempfile
>>> 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'

----------
messages: 120736
nosy: georg.brandl, giampaolo.rodola
priority: normal
severity: normal
status: open
title: SpooledTemporaryFile's name property is broken
versions: Python 2.7, Python 3.1, Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10355>
_______________________________________


More information about the Python-bugs-list mailing list