[ python-Bugs-1175967 ] StringIO and cStringIO don't provide 'name'
attribute
SourceForge.net
noreply at sourceforge.net
Tue Apr 19 16:37:49 CEST 2005
Bugs item #1175967, was opened at 2005-04-03 21:20
Message generated for change (Comment added) made by mwh
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1175967&group_id=5470
Category: None
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: logistix (logistix)
Assigned to: Nobody/Anonymous (nobody)
Summary: StringIO and cStringIO don't provide 'name' attribute
Initial Comment:
Documentation explicitly states that file-like objects
should return a repr-style psuedoname. Patch is
attached.
----------------------------------------------------------------------
>Comment By: Michael Hudson (mwh)
Date: 2005-04-19 15:37
Message:
Logged In: YES
user_id=6656
Agree with Just here.
----------------------------------------------------------------------
Comment By: Just van Rossum (jvr)
Date: 2005-04-07 09:54
Message:
Logged In: YES
user_id=92689
The documentation also says "This is a read-only attribute and
may not be present on all file-like objects.", so I'm inclined to close
as "won't fix". I'm sure many in-the-wild file-like objects don't support
it, either, so depending on its existence is bad style at best.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1175967&group_id=5470
More information about the Python-bugs-list
mailing list