[New-bugs-announce] [issue4362] FileIO object in io module
David M. Beazley
report at bugs.python.org
Thu Nov 20 14:18:28 CET 2008
New submission from David M. Beazley <beazley at users.sourceforge.net>:
The FileIO object defined in the new io library has "name" and "mode"
properties. However, attempts to access either value result in an
AttributeError exception. The C source code in _fileio.c doesn't even
implement a name attribute and it uses a different name for mode ("mode"
instead of "_mode" that the property is looking for).
Broken in 2.6 and 3.0rc2.
components: Library (Lib)
title: FileIO object in io module
versions: Python 2.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce