[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)
messages: 76100
nosy: beazley
severity: normal
status: open
title: FileIO object in io module
type: behavior
versions: Python 2.6

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


More information about the New-bugs-announce mailing list