<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/_csv.c, branch enum-lost-fixes</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>[3.10] bpo-20028: Keep original exception when PyUnicode_GetLength return -1 (GH-28832) (GH-28834)</title>
<updated>2021-10-09T16:13:21+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na@python.org</email>
</author>
<published>2021-10-09T16:13:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c80f0b7aa1d90332d0069d3e85ee112d0c9da7f0'/>
<id>c80f0b7aa1d90332d0069d3e85ee112d0c9da7f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-20028: Improve error message of csv.Dialect when initializing (GH-28705)</title>
<updated>2021-10-09T15:35:33+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-10-09T15:35:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8772935765e7a4f04f7f561e37d0c0aee71d8030'/>
<id>8772935765e7a4f04f7f561e37d0c0aee71d8030</id>
<content type='text'>
(cherry picked from commit 34bbc87b2ddbaf245fbed6443c3e620f80c6a843)

Co-authored-by: Dong-hee Na &lt;donghee.na@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 34bbc87b2ddbaf245fbed6443c3e620f80c6a843)

Co-authored-by: Dong-hee Na &lt;donghee.na@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] Fix typos in the Modules directory (GH-28761) (GH-28781)</title>
<updated>2021-10-07T08:55:18+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-10-07T08:55:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5afc5bb45d614ea4a512e257b6b60e4f98185043'/>
<id>5afc5bb45d614ea4a512e257b6b60e4f98185043</id>
<content type='text'>
(cherry picked from commit dd02a696e55b450413e765e698e653d781ca4205)


Co-authored-by: Christian Clauss &lt;cclauss@me.com&gt;

Automerge-Triggered-By: GH:gpshead</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit dd02a696e55b450413e765e698e653d781ca4205)


Co-authored-by: Christian Clauss &lt;cclauss@me.com&gt;

Automerge-Triggered-By: GH:gpshead</pre>
</div>
</content>
</entry>
<entry>
<title>[3.10] bpo-44630: Fix assertion errors in csv module (GH-27127) (GH-27129)</title>
<updated>2021-07-13T23:18:28+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-07-13T23:18:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bb260c2a212aee2a7d7a32bf5208fd554bf72713'/>
<id>bb260c2a212aee2a7d7a32bf5208fd554bf72713</id>
<content type='text'>
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]
(cherry picked from commit 0093876328afa330224c9d887c18dee0b3117852)


Co-authored-by: T. Wouters &lt;thomas@python.org&gt;

Automerge-Triggered-By: GH:gpshead</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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]
(cherry picked from commit 0093876328afa330224c9d887c18dee0b3117852)


Co-authored-by: T. Wouters &lt;thomas@python.org&gt;

Automerge-Triggered-By: GH:gpshead</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-43908: Make heap types converted during 3.10 alpha immutable (GH-26351) (GH-26766)</title>
<updated>2021-06-17T10:19:44+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-06-17T10:19:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7297d74251de3b1c02dcdb9ca281461cc7fb4535'/>
<id>7297d74251de3b1c02dcdb9ca281461cc7fb4535</id>
<content type='text'>
* Make functools types immutable

* Multibyte codec types are now immutable

* pyexpat.xmlparser is now immutable

* array.arrayiterator is now immutable

* _thread types are now immutable

* _csv types are now immutable

* _queue.SimpleQueue is now immutable

* mmap.mmap is now immutable

* unicodedata.UCD is now immutable

* sqlite3 types are now immutable

* _lsprof.Profiler is now immutable

* _overlapped.Overlapped is now immutable

* _operator types are now immutable

* winapi__overlapped.Overlapped is now immutable

* _lzma types are now immutable

* _bz2 types are now immutable

* _dbm.dbm and _gdbm.gdbm are now immutable
(cherry picked from commit 00710e6346fd2394aa020b2dfae170093effac98)

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@innova.no&gt;

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@innova.no&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make functools types immutable

* Multibyte codec types are now immutable

* pyexpat.xmlparser is now immutable

* array.arrayiterator is now immutable

* _thread types are now immutable

* _csv types are now immutable

* _queue.SimpleQueue is now immutable

* mmap.mmap is now immutable

* unicodedata.UCD is now immutable

* sqlite3 types are now immutable

* _lsprof.Profiler is now immutable

* _overlapped.Overlapped is now immutable

* _operator types are now immutable

* winapi__overlapped.Overlapped is now immutable

* _lzma types are now immutable

* _bz2 types are now immutable

* _dbm.dbm and _gdbm.gdbm are now immutable
(cherry picked from commit 00710e6346fd2394aa020b2dfae170093effac98)

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@innova.no&gt;

Co-authored-by: Erlend Egeberg Aasland &lt;erlend.aasland@innova.no&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44116: Add GC support to _csv heap types (GH-26074) (GH-26081)</title>
<updated>2021-05-12T18:56:19+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-05-12T18:56:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ba260acb22f3a6de434dc7a159ddb94a6a8c9b7c'/>
<id>ba260acb22f3a6de434dc7a159ddb94a6a8c9b7c</id>
<content type='text'>
(cherry picked from commit e5ba1fe995d4b4f3f6a089a7ec4dd186dd573830)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit e5ba1fe995d4b4f3f6a089a7ec4dd186dd573830)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-44089: Allow subclassing of ``csv.Error`` (GH-26008) (GH-26066)</title>
<updated>2021-05-12T14:02:46+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-05-12T14:02:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3e44e9af9ea4c5e82912a01f256d4abcae96f32b'/>
<id>3e44e9af9ea4c5e82912a01f256d4abcae96f32b</id>
<content type='text'>
* fix subclass error

* Update 2021-05-09-22-52-34.bpo-44089.IoANsN.rst
(cherry picked from commit 2b458c1dba4058c808fde25226bb2d91c5a909ca)

Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;

Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* fix subclass error

* Update 2021-05-09-22-52-34.bpo-44089.IoANsN.rst
(cherry picked from commit 2b458c1dba4058c808fde25226bb2d91c5a909ca)

Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;

Co-authored-by: Ken Jin &lt;28750310+Fidget-Spinner@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-14935: Remove static state from the _csv module (GH-23224)</title>
<updated>2020-12-15T14:14:35+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>encukou@gmail.com</email>
</author>
<published>2020-12-15T14:14:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6a02b384751dbc13979efc1185f0a7c1670dc349'/>
<id>6a02b384751dbc13979efc1185f0a7c1670dc349</id>
<content type='text'>
Uses code from: https://github.com/python/cpython/pull/16078

Co-authored-by: Marcel Plch &lt;gmarcel.plch@gmail.com&gt;
Co-authored-by: Eddie Elizondo &lt;eduardo.elizondorueda@gmail.com&gt;
Co-authored-by: Hai Shi &lt;shihai1992@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Uses code from: https://github.com/python/cpython/pull/16078

Co-authored-by: Marcel Plch &lt;gmarcel.plch@gmail.com&gt;
Co-authored-by: Eddie Elizondo &lt;eduardo.elizondorueda@gmail.com&gt;
Co-authored-by: Hai Shi &lt;shihai1992@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-12178: Fix escaping of escapechar in csv.writer() (GH-13710)</title>
<updated>2020-09-20T06:38:07+00:00</updated>
<author>
<name>Berker Peksag</name>
<email>berker.peksag@gmail.com</email>
</author>
<published>2020-09-20T06:38:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5c0eed7375fdd791cc5e19ceabfab4170ad44062'/>
<id>5c0eed7375fdd791cc5e19ceabfab4170ad44062</id>
<content type='text'>
Co-authored-by: Itay Elbirt &lt;anotahacou@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Itay Elbirt &lt;anotahacou@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-26407: Do not mask errors in csv. (GH-20536)</title>
<updated>2020-06-22T08:21:59+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2020-06-22T08:21:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c88239f864a27f673c0f0a9e62d2488563f9d081'/>
<id>c88239f864a27f673c0f0a9e62d2488563f9d081</id>
<content type='text'>
Unexpected errors in calling the __iter__ method are no longer
masked by TypeError in csv.reader(), csv.writer.writerow() and
csv.writer.writerows().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unexpected errors in calling the __iter__ method are no longer
masked by TypeError in csv.reader(), csv.writer.writerow() and
csv.writer.writerows().</pre>
</div>
</content>
</entry>
</feed>
