Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | bpo-44512: Fix handling of extrasactions arg to csv.DictWriter with mixed or ↵ | andrei kulakov | 2022-12-09 |
| | | | | upper case (#26924) | ||
* | gh-65496: Correct wording on csv's skipinitialspace argument (#96170) | Stanley | 2022-10-07 |
| | |||
* | gh-95950: Add a test for both `csv.Dialect` and `kwargs` (#95951) | Nikita Sobolev | 2022-08-28 |
| | |||
* | gh-76728: Coerce DictReader and DictWriter fieldnames argument to a list ↵ | Sam Ezeh | 2022-08-25 |
| | | | | (GH-32225) | ||
* | bpo-20028: Empty escapechar/quotechar is not allowed for csv.Dialect (GH-28833) | Dong-hee Na | 2021-10-11 |
| | |||
* | bpo-27580: Add support of null characters in the csv module. (GH-28808) | Serhiy Storchaka | 2021-10-09 |
| | |||
* | bpo-20028: Improve error message of csv.Dialect when initializing (GH-28705) | Dong-hee Na | 2021-10-09 |
| | |||
* | bpo-43625: Enhance csv sniffer has_headers() to be more accurate (GH-26939) | andrei kulakov | 2021-07-30 |
| | |||
* | bpo-44630: Fix assertion errors in csv module (GH-27127) | T. Wouters | 2021-07-13 |
| | | | | | | | | | | | | | Fix incorrect handling of exceptions when interpreting dialect objects in the csv module. Not clearing exceptions between calls to PyObject_GetAttrString() causes assertion failures in pydebug mode (or with assertions enabled). Add a minimal test that would've caught this (passing None as dialect, or any object that isn't a csv.Dialect subclass, which the csv module allows and caters to, even though it is not documented.) In pydebug mode, the test triggers the assertion failure in the old code. Contributed-By: T. Wouters [Google] | ||
* | bpo-28395: Remove unnecessary semicolons in tests (GH-26868) | Dong-hee Na | 2021-06-23 |
| | |||
* | bpo-44089: Allow subclassing of ``csv.Error`` (GH-26008) | Ken Jin | 2021-05-12 |
| | | | | | * fix subclass error * Update 2021-05-09-22-52-34.bpo-44089.IoANsN.rst | ||
* | bpo-43651: PEP 597: Fix EncodingWarning in some tests (GH-25145) | Inada Naoki | 2021-04-04 |
| | | | | | | | | | | | | | | | | | | | * test_asyncio * test_bz2 * test_math * test_cmath * test_cmd_line * test_cmd_line_script * test_compile * test_contextlib * test_profile * ctypes/test/test_find * test_multiprocessing * test_configparser * test_csv * test_dbm_dumb * test_decimal * test_difflib * os.fdopen() calls io.text_encoding() to emit EncodingWarning for right place. | ||
* | bpo-12178: Fix escaping of escapechar in csv.writer() (GH-13710) | Berker Peksag | 2020-09-20 |
| | | | Co-authored-by: Itay Elbirt <anotahacou@gmail.com> | ||
* | bpo-41338: Fix DeprecationWarning in tests (GH-21542) | Inada Naoki | 2020-07-20 |
| | |||
* | bpo-36346: Make using the legacy Unicode C API optional (GH-21437) | Serhiy Storchaka | 2020-07-10 |
| | | | | Add compile time option USE_UNICODE_WCHAR_CACHE. Setting it to 0 makes the interpreter not using the wchar_t cache and the legacy Unicode C API. | ||
* | bpo-26407: Do not mask errors in csv. (GH-20536) | Serhiy Storchaka | 2020-06-22 |
| | | | | | Unexpected errors in calling the __iter__ method are no longer masked by TypeError in csv.reader(), csv.writer.writerow() and csv.writer.writerows(). | ||
* | bpo-27497: Add return value to csv.DictWriter.writeheader (GH-12306) | Rémi Lapeyre | 2019-05-10 |
| | | | | | | csv.DictWriter.writeheader() now returns the return value of the underlying csv.Writer.writerow() method. Patch contributed by Ashish Nitin Patil. | ||
* | bpo-34197: Make _csv.Dialect attributes booleans. (GH-8440) | Serhiy Storchaka | 2018-07-26 |
| | | | | Attributes skipinitialspace, doublequote and strict are now booleans instead of integers 0 or 1. | ||
* | bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601) | Serhiy Storchaka | 2018-02-09 |
| | | | | Co-authored-by: Jake Davis <jcdavis@awedge.net> | ||
* | bpo-32255: Always quote a single empty field when write into a CSV file. (#4769) | Licht Takeuchi | 2017-12-12 |
| | | | This allows to distinguish an empty row from a row consisting of a single empty field. | ||
* | Issue #18219: Optimize csv.DictWriter for large number of columns. | INADA Naoki | 2016-10-21 |
| | | | | Patch by Mariatta Wijaya. | ||
* | Issue #27895: Strengthen the dict reader tests. | Raymond Hettinger | 2016-08-30 |
| | |||
* | Issue #27842: The csv.DictReader now returns rows of type OrderedDict. | Raymond Hettinger | 2016-08-30 |
| | |||
* | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 |
| | |||
* | Issue #23277: Remove unused sys and os imports | Berker Peksag | 2016-04-24 |
| | | | | Patch by Jon Dufresne. | ||
* | Issue #22995: Instances of extension types with a state that aren't | Serhiy Storchaka | 2015-12-25 |
|\ | | | | | | | | | | | subclasses of list or dict and haven't implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview. | ||
| * | Issue #22995: Instances of extension types with a state that aren't | Serhiy Storchaka | 2015-12-25 |
| | | | | | | | | | | | | subclasses of list or dict and haven't implemented any pickle-related methods (__reduce__, __reduce_ex__, __getnewargs__, __getnewargs_ex__, or __getstate__), can no longer be pickled. Including memoryview. | ||
* | | Issue #23883: Add missing APIs to __all__; patch by Jacek Kołodziej | Martin Panter | 2015-11-14 |
|/ | |||
* | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 |
| | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run. | ||
* | Issue #23171: csv.Writer.writerow() now supports arbitrary iterables. | Serhiy Storchaka | 2015-03-30 |
| | |||
* | Check that failed writerow() doesn't produce change a file. | Serhiy Storchaka | 2015-03-25 |
|\ | |||
| * | Check that failed writerow() doesn't produce change a file. | Serhiy Storchaka | 2015-03-25 |
| | | |||
* | | Issue #22076: Minor grammar fix. | Berker Peksag | 2014-07-27 |
| | | | | | | | | Patch by Martin Matusiak. | ||
* | | Issue #18727: improve test coverage of the csv module by testing for ↵ | Antoine Pitrou | 2014-04-29 |
|/ | | | | | | DictWriter.writerows. Patch by Muhammad Jehanzeb. | ||
* | (Merge 3.3) Issue #18829: Add tests for the csv module for invalid characters | Victor Stinner | 2014-01-02 |
|\ | | | | | | | (delimiter, escapechar, quotechar) | ||
| * | Issue #18829: Add tests for the csv module for invalid characters (delimiter, | Victor Stinner | 2014-01-02 |
| | | | | | | | | escapechar, quotechar) | ||
* | | Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and | Serhiy Storchaka | 2013-12-19 |
|\| | | | | | | | quotechar fields. Original patch by Vajrasky Kok. | ||
| * | Issue #18829: csv.Dialect() now checks type for delimiter, escapechar and | Serhiy Storchaka | 2013-12-19 |
| | | | | | | | | quotechar fields. Original patch by Vajrasky Kok. | ||
* | | Merge: #19449: Handle non-string keys when generating 'fieldnames' error. | R David Murray | 2013-11-19 |
|\| | |||
| * | #19449: Handle non-string keys when generating 'fieldnames' error. | R David Murray | 2013-11-19 |
| | | | | | | | | | | | | | | csv was handling non-string keys fine except for the error message generated when a non-string key was not in 'fieldnames'. Fix by Tomas Grahn, full patch-with-test by Vajrasky Kok (tweaked slightly). | ||
| * | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 |
| | | |||
* | | Issue #18702: All skipped tests now reported as skipped. | Serhiy Storchaka | 2013-11-03 |
| | | |||
* | | Merge #18155: Regex-escape delimiter, in case it is a regex special char. | R David Murray | 2013-06-29 |
|\| | |||
| * | #18155: Regex-escape delimiter, in case it is a regex special char. | R David Murray | 2013-06-29 |
| | | | | | | | | Patch by Vajrasky Kok, with slight modification to the tests by me. | ||
* | | #15927: Fix cvs.reader parsing of escaped \r\n with quoting off. | R David Murray | 2013-03-19 |
| | | | | | | | | | | | | | | This fix means that such values are correctly roundtripped, since cvs.writer already does the correct escaping. Patch by Michael Johnson. | ||
* | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 |
|/ | |||
* | Issue #16145: Support legacy strings in the _csv module. | Stefan Krah | 2012-11-02 |
| | |||
* | Issue #16013: Fix CSV Reader parsing issue with ending quote characters. ↵ | Senthil Kumaran | 2012-09-25 |
| | | | | Patch by Serhiy Storchaka. | ||
* | Fix wrong test code in test_csv (#10602) | Éric Araujo | 2010-12-02 |
| | |||
* | #5975: add unix_dialect to csv module. | Georg Brandl | 2010-10-27 |
| |