<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/object.c, branch v3.7.2</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=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/object.c?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2018-11-22T16:15:37Z</updated>
<entry>
<title>[3.7] bpo-9263: _PyObject_Dump() detects freed memory (GH-10061) (GH-10662)</title>
<updated>2018-11-22T16:15:37Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-22T16:15:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=95036ea25d47f0081bda2ba96ea327f3375cb6a4'/>
<id>urn:sha1:95036ea25d47f0081bda2ba96ea327f3375cb6a4</id>
<content type='text'>
* bpo-9263: _PyObject_Dump() detects freed memory (GH-10061)

_PyObject_Dump() now uses an heuristic to check if the object memory
has been freed: log "&lt;freed object&gt;" in that case.

The heuristic rely on the debug hooks on Python memory allocators
which fills the memory with DEADBYTE (0xDB) when memory is
deallocated. Use PYTHONMALLOC=debug to always enable these debug
hooks.

(cherry picked from commit 82af0b63b07aa8d92b50098e382b458143cfc677)

* bpo-9263: Fix _PyObject_Dump() for freed object (#10661)

If _PyObject_Dump() detects that the object is freed, don't try to
dump it (exit immediately).

Enhance also _PyObject_IsFreed(): it now detects if the pointer
itself looks like freed memory.

(cherry picked from commit 2cf5d32fd9e61488e8b0be55a2e92a752ba8b06b)
</content>
</entry>
<entry>
<title>bpo-34910: Ensure that PyObject_Print() always returns -1 on error. (GH-9733)</title>
<updated>2018-10-06T07:07:12Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-10-06T07:07:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=49fb49d6f57661f2a7601f1d759163866f707fed'/>
<id>urn:sha1:49fb49d6f57661f2a7601f1d759163866f707fed</id>
<content type='text'>
(cherry picked from commit ae62f015240c9162773341a9922794e6b960779d)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
</entry>
<entry>
<title>closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800)</title>
<updated>2018-02-22T05:44:08Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2018-02-22T05:44:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bc2e1104693fd471b96ecac5b2ab4cffa09830ab'/>
<id>urn:sha1:bc2e1104693fd471b96ecac5b2ab4cffa09830ab</id>
<content type='text'>
(cherry picked from commit 745dc65b17b3936e3f9f4099f735f174d30c4e0c)

Co-authored-by: Eddie Elizondo &lt;eduardo.elizondorueda@gmail.com&gt;</content>
</entry>
<entry>
<title>bpo-32571: Fix reading uninitialized memory (GH-5332)</title>
<updated>2018-01-26T07:22:51Z</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2018-01-26T07:22:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e76daebc0c8afa3981a4c5a8b54537f756e805de'/>
<id>urn:sha1:e76daebc0c8afa3981a4c5a8b54537f756e805de</id>
<content type='text'>
Reported by Coverity Scan.</content>
</entry>
<entry>
<title> bpo-32571: Avoid raising unneeded AttributeError and silencing it in C code (GH-5222)</title>
<updated>2018-01-25T08:49:40Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-01-25T08:49:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f320be77ffb73e3b9e7fc98c37b8df3975d84b40'/>
<id>urn:sha1:f320be77ffb73e3b9e7fc98c37b8df3975d84b40</id>
<content type='text'>
Add two new private APIs: _PyObject_LookupAttr() and _PyObject_LookupAttrId()</content>
</entry>
<entry>
<title>bpo-32436: Implement PEP 567 (#5027)</title>
<updated>2018-01-23T00:11:18Z</updated>
<author>
<name>Yury Selivanov</name>
<email>yury@magic.io</email>
</author>
<published>2018-01-23T00:11:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f23746a934177c48eff754411aba54c31d6be2f0'/>
<id>urn:sha1:f23746a934177c48eff754411aba54c31d6be2f0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-32544: Speed up hasattr() and getattr() (GH-5173)</title>
<updated>2018-01-16T11:52:41Z</updated>
<author>
<name>INADA Naoki</name>
<email>methane@users.noreply.github.com</email>
</author>
<published>2018-01-16T11:52:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=378edee0a3b913d60653dc17dfe61d83405a8135'/>
<id>urn:sha1:378edee0a3b913d60653dc17dfe61d83405a8135</id>
<content type='text'>
AttributeError was raised always when attribute is not found.
This commit skip raising AttributeError when `tp_getattro` is `PyObject_GenericGetAttr`.
It makes hasattr() and getattr() about 4x faster when attribute is not found.</content>
</entry>
<entry>
<title>bpo-32137: The repr of deeply nested dict now raises a RecursionError (#4570)</title>
<updated>2017-12-03T20:12:11Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-12-03T20:12:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1fb72d2ad243c965d4432b4e93884064001a2607'/>
<id>urn:sha1:1fb72d2ad243c965d4432b4e93884064001a2607</id>
<content type='text'>
instead of crashing due to a stack overflow.

This perhaps will fix similar problems in other extension types.</content>
</entry>
<entry>
<title>bpo-32030: Add more options to _PyCoreConfig (#4485)</title>
<updated>2017-11-21T02:12:22Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-11-21T02:12:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=25420fe290b98171e6d30edf9350292c21ef700e'/>
<id>urn:sha1:25420fe290b98171e6d30edf9350292c21ef700e</id>
<content type='text'>
Py_Main() now handles two more -X options:

* -X showrefcount: new _PyCoreConfig.show_ref_count field
* -X showalloccount: new _PyCoreConfig.show_alloc_count field</content>
</entry>
<entry>
<title>bpo-30860: Fix a refleak. (#3567)</title>
<updated>2017-09-14T07:35:58Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2017-09-14T07:35:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dae0276bb6bc7281d59fb0b8f1aab31634ee80dc'/>
<id>urn:sha1:dae0276bb6bc7281d59fb0b8f1aab31634ee80dc</id>
<content type='text'>
Resolves bpo-31420.

(This was accidentally reverted when in #3565.)</content>
</entry>
</feed>
