Hi Serhiy, Thanks! Now, I am feeling confused. On the one hand, it's already been tried 10 years ago. On the other hand, obviously people do wish to have it. I'm going to send a PR In GitHub. Let's see if a new PR with some documentation can be appreciated.
Oz On Wed, Oct 30, 2019, 16:25 Serhiy Storchaka <[email protected]> wrote: > 29.10.19 22:37, Oz Tiram пише: > > Quite a few tutorials show how to use namedtuple to gain memory saving > > and speed, over the DictReader. > > Python's own documentation has got a recipe in the collections modules[1] > > Hence, I was wondering why not go the extra step and add a new class to > > the CSV module NamedTupleReader? > > This class would do a good service for Python's users, especially > > newcomers who are still not aware of > > modules like the collections module. > > See https://bugs.python.org/issue1818 > _______________________________________________ > Python-Dev mailing list -- [email protected] > To unsubscribe send an email to [email protected] > https://mail.python.org/mailman3/lists/python-dev.python.org/ > Message archived at > https://mail.python.org/archives/list/[email protected]/message/H6L74TDMPP7TSVVKQS2VMI4ZVZTTSMUW/ > Code of Conduct: http://python.org/psf/codeofconduct/ >
_______________________________________________ Python-Dev mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/KKWZBZMBGID45XKEXRX6WQWBDJDMQASD/ Code of Conduct: http://python.org/psf/codeofconduct/
