[issue1818] Add named tuple reader to CSV module

Antoine Pitrou report at bugs.python.org
Sun Mar 8 14:33:52 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

I don't understand why NamedTupleReader requires the fieldnames array
rather than the namedtuple class itself. If you could pass it the
namedtuple class, users could choose whatever namedtuple subclass with
whatever additional methods or behaviour suits them. It would make
NamedTupleReader more flexible and more useful.

----------
message_count: 23.0 -> 24.0
nosy: +pitrou
nosy_count: 5.0 -> 6.0

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


More information about the Python-bugs-list mailing list