]> granicus.if.org Git - python/commit
bpo-38206: Clarify tp_dealloc requirements for heap allocated types. (GH-16248)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 27 Sep 2019 11:18:24 +0000 (04:18 -0700)
committerGitHub <noreply@github.com>
Fri, 27 Sep 2019 11:18:24 +0000 (04:18 -0700)
commit14ddca726a8cd337d0461934374b5e6bf65bf812
tree50665a2ada14ec3c82736e15cd3531e6c351c602
parentb2c2a0c02c6056dc73311a8a8a295249c454913a
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/16127GH-pullrequestreview-288312751
- https://github.com/python/cpython/pull/16071GH-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
(cherry picked from commit 5faff977adbe089e1f91a5916ccb2160a22dd292)

Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
Doc/c-api/type.rst
Doc/c-api/typeobj.rst