Pascal Corpet
979534c764
Prefer Mapping to Dict for input of csv DictWriter methods. ( #2829 )
2019-03-07 15:04:56 +01:00
Ivan Levkivskyi
126b3e17fd
Revert #2347 ( #2377 )
2018-08-09 13:22:12 -07:00
Chelsea Voss
f6e2fb4401
Allow DictReader values to be None ( #2346 ) ( #2347 )
2018-08-09 08:04:44 -07:00
Yusuke Miyazaki
6192cce9d9
Avoid using string literals in type annotations ( #2294 )
2018-07-02 20:23:29 -07:00
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