[Python-Dev] RFC: Add a new builtin strarray type to Python? (original) (raw)
Stephen J. Turnbull stephen at xemacs.org
Sun Oct 2 16:39:20 CEST 2011
- Previous message: [Python-Dev] RFC: Add a new builtin strarray type to Python?
- Next message: [Python-Dev] RFC: Add a new builtin strarray type to Python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Antoine Pitrou writes:
StringIO is an in-memory file-like object, like in 2.x (where it lived in the "cStringIO" module). I don't think it's a novel thing.
The problem is the name "StringIO". Something like "StringStream" or "StringBuffer" might be more discoverable. I personally didn't have trouble deducing that "StringIO" means "treat a string like a file", but it's not immediately obvious what the module is for (unless you already know).
- Previous message: [Python-Dev] RFC: Add a new builtin strarray type to Python?
- Next message: [Python-Dev] RFC: Add a new builtin strarray type to Python?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]