[issue10355] SpooledTemporaryFile's name property is broken

Éric Araujo report at bugs.python.org
Mon Nov 8 18:09:48 CET 2010

Éric Araujo <merwok at netwok.org> added the comment:

Wow, brain fail.  What I actually wanted to say:  SpooledTemporaryFile “operates exactly as TemporaryFile() does”, which is not guaranteed to have a name.  The definition of file-like object (linked from tempfile docs) says nothing about a name either.  Therefore, I think the presence of this attribute is a bug.

Adding Collin to nosy, as the committer of SpooledTemporaryFile.

nosy: +collinwinter

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list