[Python-bugs-list] [ python-Bugs-580462 ] GC Changes not mentioned in What's New

noreply@sourceforge.net noreply@sourceforge.net
Mon, 22 Jul 2002 12:21:55 -0700


Bugs item #580462, was opened at 2002-07-12 04:01
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=580462&group_id=5470

Category: Documentation
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 6
Submitted By: Martin v. Löwis (loewis)
Assigned to: A.M. Kuchling (akuchling)
Summary: GC Changes not mentioned in What's New

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: A.M. Kuchling (akuchling)
Date: 2002-07-22 15:21

Message:
Logged In: YES 
user_id=11375

Now document in whatnews23.tex, rev. 1.40.  Thanks!

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=580462&group_id=5470