[New-bugs-announce] [issue1818] Add named tuple reader to CSV module
Raymond Hettinger
report at bugs.python.org
Sun Jan 13 23:27:16 CET 2008
New submission from Raymond Hettinger:
Here's a proof-of-concept patch. If approved, will change from
generator form to match the other readers and will add a test suite.
The idea corresponds to what is currently done by the dict reader but
returns a space and time efficient named tuple instead of a dict. Field
order is preserved and named attribute access is supported.
A writer is not needed because named tuples can be feed into the
existing writer just like regular tuples.
----------
assignee: barry
components: Library (Lib)
files: ntreader.diff
messages: 59866
nosy: barry, rhettinger
severity: normal
status: open
title: Add named tuple reader to CSV module
versions: Python 2.6
Added file: http://bugs.python.org/file9151/ntreader.diff
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1818>
__________________________________
More information about the New-bugs-announce
mailing list