This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: GC Changes not mentioned in What's New
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, loewis
Priority: high Keywords:

Created on 2002-07-12 08:01 by loewis, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (2)
msg11536 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2002-07-12 08:01
At EuroPython,  Paul Dubois was surprised about the
changes to the GC API, which were documented as

- The GC API has been changed.  Extensions that use the
old API will still
  compile but will not participate in GC.  To upgrade
an extension
  module:

    - rename Py_TPFLAGS_GC to PyTPFLAGS_HAVE_GC

    - use PyObject_GC_New or PyObject_GC_NewVar to
allocate objects and
      PyObject_GC_Del to deallocate them

    - rename PyObject_GC_Init to PyObject_GC_Track and
PyObject_GC_Fini
      to PyObject_GC_UnTrack

    - remove PyGC_HEAD_SIZE from object size calculations

    - remove calls to PyObject_AS_GC and PyObject_FROM_GC

Thjs should somehow be mentioned in What's New as well.
msg11537 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2002-07-22 19:21
Logged In: YES 
user_id=11375

Now document in whatnews23.tex, rev. 1.40.  Thanks!
History
Date User Action Args
2022-04-10 16:05:30adminsetgithub: 36881
2002-07-12 08:01:28loewiscreate