Benjamin Peterson <benja...@python.org> added the comment: 2010/9/15 Daniel Stutzbach <rep...@bugs.python.org>: > > Daniel Stutzbach <dan...@stutzbachenterprises.com> added the comment: > >> Hmm, none the less other code expects it. > > Does that imply that there's some code that will break on FileIO objects that > are created using a file descriptor instead of a filename? If so, where?
No, just that all code that access name expects an AttributeError, indicating that when there is no "name" an error should result. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9858> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com