<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Include/objimpl.h, branch 3.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/objimpl.h?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Include/objimpl.h?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2021-04-29T08:47:47Z</updated>
<entry>
<title>bpo-43774: Remove unused PYMALLOC_DEBUG macro (GH-25711)</title>
<updated>2021-04-29T08:47:47Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-29T08:47:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=645ed62fb4c09b7e23887fcca0767b0f2d7d3fd6'/>
<id>urn:sha1:645ed62fb4c09b7e23887fcca0767b0f2d7d3fd6</id>
<content type='text'>
Enhance also the documentation of debug hooks on memory allocators.</content>
</entry>
<entry>
<title>bpo-28254: Add a C-API for controlling the GC state (GH-25687)</title>
<updated>2021-04-28T16:12:16Z</updated>
<author>
<name>scoder</name>
<email>stefan_ml@behnel.de</email>
</author>
<published>2021-04-28T16:12:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3cc481b9de43c234889c8010e7da3af7c0f42319'/>
<id>urn:sha1:3cc481b9de43c234889c8010e7da3af7c0f42319</id>
<content type='text'>
Add new C-API functions to control the state of the garbage collector:
PyGC_Enable(), PyGC_Disable(), PyGC_IsEnabled(),
corresponding to the functions in the gc module.

Co-authored-by: Pablo Galindo &lt;Pablogsal@gmail.com&gt;
Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>bpo-42519: Replace PyObject_MALLOC() with PyObject_Malloc() (GH-23587)</title>
<updated>2020-12-01T09:37:39Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-12-01T09:37:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32bd68c839adb7b42af12366ab0892303115d1d1'/>
<id>urn:sha1:32bd68c839adb7b42af12366ab0892303115d1d1</id>
<content type='text'>
No longer use deprecated aliases to functions:

* Replace PyObject_MALLOC() with PyObject_Malloc()
* Replace PyObject_REALLOC() with PyObject_Realloc()
* Replace PyObject_FREE() with PyObject_Free()
* Replace PyObject_Del() with PyObject_Free()
* Replace PyObject_DEL() with PyObject_Free()</content>
</entry>
<entry>
<title>bpo-42519: Replace PyMem_MALLOC() with PyMem_Malloc() (GH-23586)</title>
<updated>2020-12-01T08:56:42Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-12-01T08:56:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=00d7abd7ef588fc4ff0571c8579ab4aba8ada1c0'/>
<id>urn:sha1:00d7abd7ef588fc4ff0571c8579ab4aba8ada1c0</id>
<content type='text'>
No longer use deprecated aliases to functions:

* Replace PyMem_MALLOC() with PyMem_Malloc()
* Replace PyMem_REALLOC() with PyMem_Realloc()
* Replace PyMem_FREE() with PyMem_Free()
* Replace PyMem_Del() with PyMem_Free()
* Replace PyMem_DEL() with PyMem_Free()

Modify also the PyMem_DEL() macro to use directly PyMem_Free().</content>
</entry>
<entry>
<title>bpo-40989: PyObject_INIT() becomes an alias to PyObject_Init() (GH-20901)</title>
<updated>2020-06-15T23:28:07Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-06-15T23:28:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=04fc4f2a46b2fd083639deb872c3a3037fdb47d6'/>
<id>urn:sha1:04fc4f2a46b2fd083639deb872c3a3037fdb47d6</id>
<content type='text'>
The PyObject_INIT() and PyObject_INIT_VAR() macros become aliases to,
respectively, PyObject_Init() and PyObject_InitVar() functions.

Rename _PyObject_INIT() and _PyObject_INIT_VAR() static inline
functions to, respectively, _PyObject_Init() and _PyObject_InitVar(),
and move them to pycore_object.h. Remove their return value:
their return type becomes void.

The _datetime module is now built with the Py_BUILD_CORE_MODULE macro
defined.

Remove an outdated comment on _Py_tracemalloc_config.</content>
</entry>
<entry>
<title>bpo-40241: Add PyObject_GC_IsTracked and PyObject_GC_IsFinalized to the public C-API (GH-19461)</title>
<updated>2020-04-11T00:21:54Z</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2020-04-11T00:21:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f13072b8a89a922285737988b086beb4b06c6648'/>
<id>urn:sha1:f13072b8a89a922285737988b086beb4b06c6648</id>
<content type='text'>
Add the functions PyObject_GC_IsTracked and PyObject_GC_IsFinalized to the public API to allow to query if Python objects are being currently tracked or have been already finalized by the garbage collector respectively.</content>
</entry>
<entry>
<title>bpo-40170: PyObject_NEW() becomes an alias to PyObject_New() (GH-19379)</title>
<updated>2020-04-07T22:38:15Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-04-07T22:38:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9205520d8c43488696d66cbdd9aefbb21871c508'/>
<id>urn:sha1:9205520d8c43488696d66cbdd9aefbb21871c508</id>
<content type='text'>
The PyObject_NEW() macro becomes an alias to the PyObject_New()
macro, and the PyObject_NEW_VAR() macro becomes an alias to the
PyObject_NewVar() macro, to hide implementation details. They no
longer access directly the PyTypeObject.tp_basicsize member.

Exclude _PyObject_SIZE() and _PyObject_VAR_SIZE() macros from
the limited C API.

Replace PyObject_NEW() with PyObject_New() and replace
PyObject_NEW_VAR() with PyObject_NewVar().</content>
</entry>
<entry>
<title>bpo-39542: Make PyObject_INIT() opaque in limited C API (GH-18363)</title>
<updated>2020-02-05T12:12:19Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2020-02-05T12:12:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f58bd7c1693fe041f7296a5778d0a11287895648'/>
<id>urn:sha1:f58bd7c1693fe041f7296a5778d0a11287895648</id>
<content type='text'>
In the limited C API, PyObject_INIT() and PyObject_INIT_VAR() are now
defined as aliases to PyObject_Init() and PyObject_InitVar() to make
their implementation opaque. It avoids to leak implementation details
in the limited C API.

Exclude the following functions from the limited C API, move them
from object.h to cpython/object.h:

* _Py_NewReference()
* _Py_ForgetReference()
* _PyTraceMalloc_NewReference()
* _Py_GetRefTotal()</content>
</entry>
<entry>
<title>bpo-35810: Incref heap-allocated types in PyObject_Init (GH-11661)</title>
<updated>2019-03-27T11:52:18Z</updated>
<author>
<name>Eddie Elizondo</name>
<email>eduardo.elizondorueda@gmail.com</email>
</author>
<published>2019-03-27T11:52:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=364f0b0f19cc3f0d5e63f571ec9163cf41c62958'/>
<id>urn:sha1:364f0b0f19cc3f0d5e63f571ec9163cf41c62958</id>
<content type='text'>
* Incref heap-allocated types in PyObject_Init
* Add documentation and porting notes to What's New
</content>
</entry>
<entry>
<title>bpo-35134: Create Include/cpython/ subdirectory (GH-10624)</title>
<updated>2018-11-23T16:00:00Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-23T16:00:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e421106b9e4d780c083113e4180d58d68acc69ab'/>
<id>urn:sha1:e421106b9e4d780c083113e4180d58d68acc69ab</id>
<content type='text'>
Include/*.h should be the "portable Python API", whereas
Include/cpython/*.h should be the "CPython API": CPython
implementation details.

Changes:

* Create Include/cpython/ subdirectory
* "make install" now creates $prefix/include/cpython and copy
  Include/cpython/* to $prefix/include/cpython
* Create Include/cpython/objimpl.h: move objimpl.h code
  surrounded by "#ifndef Py_LIMITED_API" to cpython/objimpl.h.
* objimpl.h now includes cpython/objimpl.h
* Windows installer (MSI) now also install Include/ subdirectories:
  Include/cpython/ and Include/internal/.</content>
</entry>
</feed>
