Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Grainger
2bb7ea9595 csv DictReader should only yield OrderedDicts in Py3.6 (#1478) 2017-07-14 21:58:52 -07:00
Thomas Grainger
7637549ced fix DictReader definition (#1475)
* constructable with Iterable
* __iter__ returns another DictReader
* supports `__next__` on python 3
* supports `next` on python 2
2017-07-10 21:02:59 -07:00
Roy Williams
5a95e19322 Allow csv module to support both str and unicode types in Python 2 (#1437)
* Replace keys in DictReader with Any
2017-06-27 14:24:22 -07:00
Guido van Rossum
86070643ac Improve csv module and float() signature (#1418)
* DictReader should not be abstract. Reformat long lines.
* Make restval optional for DictWriter.__init__.
* The arg to reader() is *Iterable*, not *Iterator*.
* Improve signature of float() (use Union instead of overload).
2017-06-20 13:04:10 -07:00
Yusuke Miyazaki
1c8498228d Update stub for csv (#1398) 2017-06-15 16:35:17 -07:00