<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/object.c, 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/Objects/object.c?h=3.10</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/object.c?h=3.10'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2022-12-01T13:32:15Z</updated>
<entry>
<title>gh-99845: _PyObject_DictPointer(): fix dictoffset cast (GH-99922)</title>
<updated>2022-12-01T13:32:15Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-12-01T13:32:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=64dae2efd5a083d342d744d40ca8d6ebb28bc771'/>
<id>urn:sha1:64dae2efd5a083d342d744d40ca8d6ebb28bc771</id>
<content type='text'>
Cast size_t to Py_ssize_t, rather than casting it to long. On 64-bit
Windows, long is 32-bit whereas Py_ssize_t is 64-bit.
(cherry picked from commit 9707bf228e008485a3fbb63aa7ee28cf88014f91)

Co-authored-by: Victor Stinner &lt;vstinner@python.org&gt;</content>
</entry>
<entry>
<title>gh-96352: Set AttributeError context in _PyObject_GenericGetAttrWithDict (GH-96353)</title>
<updated>2022-09-08T11:46:53Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2022-09-08T11:46:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=19b94bc136b188d3da5ab8d02b93eb55a48bc641'/>
<id>urn:sha1:19b94bc136b188d3da5ab8d02b93eb55a48bc641</id>
<content type='text'>
(cherry picked from commit b9634ac776c24bc4d4a57859d884a94cdfe16043)

Co-authored-by: philg314 &lt;110174000+philg314@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.10] bpo-46940: Don't override existing AttributeError suggestion information (GH-31710) (GH-31724)</title>
<updated>2022-03-07T13:18:36Z</updated>
<author>
<name>Pablo Galindo Salgado</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2022-03-07T13:18:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3594ebca2cacf5d9b5212d2c487fd017cd00e283'/>
<id>urn:sha1:3594ebca2cacf5d9b5212d2c487fd017cd00e283</id>
<content type='text'>
When an exception is created in a nested call to PyObject_GetAttr, any
external calls will override the context information of the
AttributeError that we have already placed in the most internal call.
This will cause the suggestions we create to nor work properly as the
attribute name and object that we will be using are the incorrect ones.

To avoid this, we need to check first if these attributes are already
set and bail out if that's the case..
(cherry picked from commit 3b3be05a164da43f201e35b6dafbc840993a4d18)

Co-authored-by: Pablo Galindo Salgado &lt;Pablogsal@gmail.com&gt;</content>
</entry>
<entry>
<title>[3.10] bpo-44654: Refactor and clean up the union type implementation (GH-27196) (GH-27219)</title>
<updated>2021-07-17T21:10:21Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2021-07-17T21:10:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=03aad3049d1591c76a219dfe089e5367f88f167e'/>
<id>urn:sha1:03aad3049d1591c76a219dfe089e5367f88f167e</id>
<content type='text'>
(cherry picked from commit 0fd27375cabd12e68a2f12cfeca11a2d5043429e)
</content>
</entry>
<entry>
<title>bpo-38530: Offer suggestions on AttributeError (#16856)</title>
<updated>2021-04-14T01:36:07Z</updated>
<author>
<name>Pablo Galindo</name>
<email>Pablogsal@gmail.com</email>
</author>
<published>2021-04-14T01:36:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=37494b441aced0362d7edd2956ab3ea7801e60c8'/>
<id>urn:sha1:37494b441aced0362d7edd2956ab3ea7801e60c8</id>
<content type='text'>
When printing AttributeError, PyErr_Display will offer suggestions of similar 
attribute names in the object that the exception was raised from:

&gt;&gt;&gt; collections.namedtoplo
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
AttributeError: module 'collections' has no attribute 'namedtoplo'. Did you mean: namedtuple?</content>
</entry>
<entry>
<title>bpo-43753: Add Py_Is() and Py_IsNone() functions (GH-25227)</title>
<updated>2021-04-10T22:17:39Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-10T22:17:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=09bbebea163fe7303264cf4069c51d4d2f22fde4'/>
<id>urn:sha1:09bbebea163fe7303264cf4069c51d4d2f22fde4</id>
<content type='text'>
Add the Py_Is(x, y) function to test if the 'x' object is the 'y'
object, the same as "x is y" in Python. Add also the Py_IsNone(),
Py_IsTrue(), Py_IsFalse() functions to test if an object is,
respectively, the None singleton, the True singleton or the False
singleton.</content>
</entry>
<entry>
<title>bpo-43770: _PyTypes_Init() inits _PyAnextAwaitable_Type (GH-25266)</title>
<updated>2021-04-08T07:58:15Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-08T07:58:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b98eba5bc2ffbe7a0ed49d540ebc4f756ae61985'/>
<id>urn:sha1:b98eba5bc2ffbe7a0ed49d540ebc4f756ae61985</id>
<content type='text'>
* Rename PyAnextAwaitable_Type to _PyAnextAwaitable_Type.
* Expose the type in the internal C API.</content>
</entry>
<entry>
<title>bpo-43770: _PyTypes_Init() inits more static types (GH-25265)</title>
<updated>2021-04-07T22:47:55Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-07T22:47:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=df5dc1c7a536abc2b497cb9506f8a37949838309'/>
<id>urn:sha1:df5dc1c7a536abc2b497cb9506f8a37949838309</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-43770: Sort types in _PyTypes_Init() (GH-25263)</title>
<updated>2021-04-07T22:12:38Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-07T22:12:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a518099078c8ae51860009fb801db897af9eed62'/>
<id>urn:sha1:a518099078c8ae51860009fb801db897af9eed62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-43688: Support the limited C API in debug mode (GH-25131)</title>
<updated>2021-04-02T13:45:37Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2021-04-02T13:45:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3359cab038968935b40344fad7c30d211f9692e4'/>
<id>urn:sha1:3359cab038968935b40344fad7c30d211f9692e4</id>
<content type='text'>
The limited C API is now supported if Python is built in debug mode
(if the Py_DEBUG macro is defined). In the limited C API, the
Py_INCREF() and Py_DECREF() functions are now implemented as opaque
function calls, rather than accessing directly the PyObject.ob_refcnt
member, if Python is built in debug mode and the Py_LIMITED_API macro
targets Python 3.10 or newer. It became possible to support the
limited C API in debug mode because the PyObject structure is the
same in release and debug mode since Python 3.8 (see bpo-36465).

The limited C API is still not supported in the --with-trace-refs
special build (Py_TRACE_REFS macro).</content>
</entry>
</feed>
