]> granicus.if.org Git - python/commit
bpo-38206: Clarify tp_dealloc requirements for heap allocated types. (GH-16248)
authorAmmar Askar <ammar@ammaraskar.com>
Fri, 27 Sep 2019 11:11:27 +0000 (07:11 -0400)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 27 Sep 2019 11:11:27 +0000 (04:11 -0700)
commit5faff977adbe089e1f91a5916ccb2160a22dd292
treeed63fe46908278316d31337d6c62f7e377d537a6
parent6ce03ec627680ce0829a5b3067fab7faed21b533
bpo-38206: Clarify tp_dealloc requirements for heap allocated types. (GH-16248)

As mentioned in the bpo ticket, this mistake came up on two reviews:
- https://github.com/python/cpython/pull/16127#pullrequestreview-288312751
- https://github.com/python/cpython/pull/16071#pullrequestreview-287819525

Would be nice to have it documented in a more permanent place than 3.8's whatsnew entry.

https://bugs.python.org/issue38206

Automerge-Triggered-By: @encukou
Doc/c-api/type.rst
Doc/c-api/typeobj.rst