Éric Araujo <mer...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue10355> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com