<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/tupleobject.h, branch enum-private-310</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-40428: Remove PyTuple_ClearFreeList() function (GH-19769)</title>
<updated>2020-04-29T00:29:20+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-29T00:29:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ae00a5a88534fd45939f86c12e038da9fa6f9ed6'/>
<id>ae00a5a88534fd45939f86c12e038da9fa6f9ed6</id>
<content type='text'>
Remove the following function from the C API:

* PyAsyncGen_ClearFreeLists()
* PyContext_ClearFreeList()
* PyDict_ClearFreeList()
* PyFloat_ClearFreeList()
* PyFrame_ClearFreeList()
* PyList_ClearFreeList()
* PySet_ClearFreeList()
* PyTuple_ClearFreeList()

Make these functions private, move them to the internal C API and
change their return type to void.

Call explicitly PyGC_Collect() to free all free lists.

Note: PySet_ClearFreeList() did nothing.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the following function from the C API:

* PyAsyncGen_ClearFreeLists()
* PyContext_ClearFreeList()
* PyDict_ClearFreeList()
* PyFloat_ClearFreeList()
* PyFrame_ClearFreeList()
* PyList_ClearFreeList()
* PySet_ClearFreeList()
* PyTuple_ClearFreeList()

Make these functions private, move them to the internal C API and
change their return type to void.

Call explicitly PyGC_Collect() to free all free lists.

Note: PySet_ClearFreeList() did nothing.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39573: Add Py_IS_TYPE() function (GH-18488)</title>
<updated>2020-02-13T17:37:17+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2020-02-13T17:37:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d905df766c367c350f20c46ccd99d4da19ed57d8'/>
<id>d905df766c367c350f20c46ccd99d4da19ed57d8</id>
<content type='text'>
Co-Author: Neil Schemenauer &lt;nas-github@arctrix.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-Author: Neil Schemenauer &lt;nas-github@arctrix.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35134: Create Include/cpython/tupleobject.h (GH-10764)</title>
<updated>2018-11-28T12:01:32+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-28T12:01:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=54ba556c6c7d8fd5504dc142c2e773890c55a774'/>
<id>54ba556c6c7d8fd5504dc142c2e773890c55a774</id>
<content type='text'>
Move tupleobject.h code surrounded by "#ifndef Py_LIMITED_API"
to a new Include/cpython/tupleobject.h header file.

Add cpython/ header files to Makefile.pre.in and pythoncore project
of PCbuild.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move tupleobject.h code surrounded by "#ifndef Py_LIMITED_API"
to a new Include/cpython/tupleobject.h header file.

Add cpython/ header files to Makefile.pre.in and pythoncore project
of PCbuild.</pre>
</div>
</content>
</entry>
<entry>
<title>Add assertion to _PyTuple_CAST(op) (GH-10712)</title>
<updated>2018-11-26T12:37:13+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-26T12:37:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=df108dc6610e41c54ed064a854e3903c143f0d77'/>
<id>df108dc6610e41c54ed064a854e3903c143f0d77</id>
<content type='text'>
Add "assert(PyTuple_Check(op));" to _PyTuple_CAST() to check that the
argument is a tuple object in debug mode.

PyTuple_GET_SIZE() now uses _PyTuple_CAST() to get its assertion.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add "assert(PyTuple_Check(op));" to _PyTuple_CAST() to check that the
argument is a tuple object in debug mode.

PyTuple_GET_SIZE() now uses _PyTuple_CAST() to get its assertion.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35081: Add Include/internal/pycore_tupleobject.h (GH-10705)</title>
<updated>2018-11-25T22:56:17+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-25T22:56:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ec13b9322d95a651606219469fc7b7e9c977f248'/>
<id>ec13b9322d95a651606219469fc7b7e9c977f248</id>
<content type='text'>
Move _PyTuple_ITEMS() to a new header file:
Include/internal/pycore_tupleobject.h</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Move _PyTuple_ITEMS() to a new header file:
Include/internal/pycore_tupleobject.h</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35081: Add _PyTuple_CAST() (GH-10704)</title>
<updated>2018-11-25T22:30:32+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-25T22:30:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8ac6539d85b481fc6b5e9145446b07e591b2caba'/>
<id>8ac6539d85b481fc6b5e9145446b07e591b2caba</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35199: Add an internal _PyTuple_ITEMS() macro (GH-10434)</title>
<updated>2018-11-09T15:56:48+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-09T15:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d17a693fa08ce9f2d35acbb1f76e20bdae3e01da'/>
<id>d17a693fa08ce9f2d35acbb1f76e20bdae3e01da</id>
<content type='text'>
* _PyTuple_ITEMS() gives access to the tuple-&gt;ob_item field and cast the
  first argument to PyTupleObject*. This internal macro is only usable if
  Py_BUILD_CORE is defined.
* Replace &amp;PyTuple_GET_ITEM(ob, 0) with _PyTuple_ITEMS(ob).
* Replace PyTuple_GET_ITEM(op, 1) with &amp;_PyTuple_ITEMS(ob)[1].</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* _PyTuple_ITEMS() gives access to the tuple-&gt;ob_item field and cast the
  first argument to PyTupleObject*. This internal macro is only usable if
  Py_BUILD_CORE is defined.
* Replace &amp;PyTuple_GET_ITEM(ob, 0) with _PyTuple_ITEMS(ob).
* Replace PyTuple_GET_ITEM(op, 1) with &amp;_PyTuple_ITEMS(ob)[1].</pre>
</div>
</content>
</entry>
<entry>
<title>Fix small typo in tupleobject.h (#4801)</title>
<updated>2017-12-12T07:59:30+00:00</updated>
<author>
<name>Chris</name>
<email>cbrown119955@gmail.com</email>
</author>
<published>2017-12-12T07:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e0720cd9e44d43587e6b6c91fd21d0bb0345ccb9'/>
<id>e0720cd9e44d43587e6b6c91fd21d0bb0345ccb9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and PySet_GET_SIZE. (#751)</title>
<updated>2017-04-21T23:48:11+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-21T23:48:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1a5856bf9295fa73995898d576e0bedf016aee1f'/>
<id>1a5856bf9295fa73995898d576e0bedf016aee1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues</title>
<updated>2012-06-22T18:55:41+00:00</updated>
<author>
<name>David Malcolm</name>
<email>dmalcolm@redhat.com</email>
</author>
<published>2012-06-22T18:55:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=49526f48fc73d3ccdf09d466ed2d39a30e4df9b9'/>
<id>49526f48fc73d3ccdf09d466ed2d39a30e4df9b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
