<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/_csv.c, branch v3.7.13</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>Fix name of '\0'. (GH-14222)</title>
<updated>2019-06-19T04:59:54+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-19T04:59:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b2967436dbf80a70fcf69b9872dc0607be1e78ab'/>
<id>b2967436dbf80a70fcf69b9872dc0607be1e78ab</id>
<content type='text'>
'\0' is the NUL byte not NULL.
(cherry picked from commit 7821b4c6d29933511d50bb42255e39790c6abf00)

Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'\0' is the NUL byte not NULL.
(cherry picked from commit 7821b4c6d29933511d50bb42255e39790c6abf00)

Co-authored-by: Benjamin Peterson &lt;benjamin@python.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33029: Fix signatures of getter and setter functions. (GH-10746)</title>
<updated>2018-11-27T17:58:07+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-11-27T17:58:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5ceb7018dc63fab96f81d05e62bbe704e9f10cb9'/>
<id>5ceb7018dc63fab96f81d05e62bbe704e9f10cb9</id>
<content type='text'>
Fix also return type for few other functions (clear, releasebuffer).
(cherry picked from commit d4f9cf5545d6d8844e0726552ef2e366f5cc3abd)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix also return type for few other functions (clear, releasebuffer).
(cherry picked from commit d4f9cf5545d6d8844e0726552ef2e366f5cc3abd)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34395: Fix memory leaks caused by incautious usage of PyMem_Resize(). (GH-8756)</title>
<updated>2018-08-16T04:53:00+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-08-16T04:53:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=962051eeb0ba486b8ffe4082779b4fa432e3dfb2'/>
<id>962051eeb0ba486b8ffe4082779b4fa432e3dfb2</id>
<content type='text'>
(cherry picked from commit 67b9cc8e6072a919d2ed7e7ecc8124c8acfb3733)

Co-authored-by: Sergey Fedoseev &lt;fedoseev.sergey@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 67b9cc8e6072a919d2ed7e7ecc8124c8acfb3733)

Co-authored-by: Sergey Fedoseev &lt;fedoseev.sergey@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-32255: Always quote a single empty field when write into a CSV file. (#4769)</title>
<updated>2017-12-12T09:57:06+00:00</updated>
<author>
<name>Licht Takeuchi</name>
<email>licht-t@outlook.jp</email>
</author>
<published>2017-12-12T09:57:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=2001900b0c02a397d8cf1d776a7cc7fcb2a463e3'/>
<id>2001900b0c02a397d8cf1d776a7cc7fcb2a463e3</id>
<content type='text'>
This allows to distinguish an empty row from a row consisting of a single empty field.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows to distinguish an empty row from a row consisting of a single empty field.</pre>
</div>
</content>
</entry>
<entry>
<title>Use NULL rather than 0. (#778)</title>
<updated>2017-03-23T15:53:47+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-03-23T15:53:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0b3ec192259a65971001ce8f0de85a9c1e71d9c7'/>
<id>0b3ec192259a65971001ce8f0de85a9c1e71d9c7</id>
<content type='text'>
There was few cases of using literal 0 instead of NULL in the context of
pointers.  While this was a legitimate C code, using NULL rather than 0 makes
the code clearer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was few cases of using literal 0 instead of NULL in the context of
pointers.  While this was a legitimate C code, using NULL rather than 0 makes
the code clearer.</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever</title>
<updated>2017-01-23T07:47:21+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-01-23T07:47:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=228b12edcce49649d6befa3c03dbcefd5a22ae76'/>
<id>228b12edcce49649d6befa3c03dbcefd5a22ae76</id>
<content type='text'>
possible.  Patch is writen with Coccinelle.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
possible.  Patch is writen with Coccinelle.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backed out changeset b9c9691c72c5</title>
<updated>2016-12-04T21:59:09+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-12-04T21:59:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=de4ae3d4869e88dda8bfbad24880cb398160a7a0'/>
<id>de4ae3d4869e88dda8bfbad24880cb398160a7a0</id>
<content type='text'>
Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like
_PyObject_CallArg1() uses more stack memory than
PyObject_CallFunctionObjArgs().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #28858: The change b9c9691c72c5 introduced a regression. It seems like
_PyObject_CallArg1() uses more stack memory than
PyObject_CallFunctionObjArgs().
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace PyObject_CallFunctionObjArgs() with fastcall</title>
<updated>2016-12-01T13:43:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-12-01T13:43:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=27580c1fb5e8cb756304f523006d832d2e3532e7'/>
<id>27580c1fb5e8cb756304f523006d832d2e3532e7</id>
<content type='text'>
* PyObject_CallFunctionObjArgs(func, NULL) =&gt; _PyObject_CallNoArg(func)
* PyObject_CallFunctionObjArgs(func, arg, NULL) =&gt; _PyObject_CallArg1(func, arg)

PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires
extra work to "parse" C arguments to build a C array of PyObject*.

_PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate
memory on the C stack.

This change is part of the fastcall project. The change on listsort() is
related to the issue #23507.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* PyObject_CallFunctionObjArgs(func, NULL) =&gt; _PyObject_CallNoArg(func)
* PyObject_CallFunctionObjArgs(func, arg, NULL) =&gt; _PyObject_CallArg1(func, arg)

PyObject_CallFunctionObjArgs() allocates 40 bytes on the C stack and requires
extra work to "parse" C arguments to build a C array of PyObject*.

_PyObject_CallNoArg() and _PyObject_CallArg1() are simpler and don't allocate
memory on the C stack.

This change is part of the fastcall project. The change on listsort() is
related to the issue #23507.
</pre>
</div>
</content>
</entry>
<entry>
<title>_csv: use _PyLong_AsInt()</title>
<updated>2016-10-19T14:00:37+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-10-19T14:00:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7a6dbb71b24eb4693a3834230088defcd751f476'/>
<id>7a6dbb71b24eb4693a3834230088defcd751f476</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27809: _csv: _call_dialect() uses fast call</title>
<updated>2016-08-22T22:21:34+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2016-08-22T22:21:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6412f4993ab497de7e15e2578da52fc2a9c14f1d'/>
<id>6412f4993ab497de7e15e2578da52fc2a9c14f1d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
