[Python-3000] Transitional GC?

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Mon Sep 25 11:57:10 CEST 2006


Talin <talin at acm.org> writes:

> I wonder if there is a way to create an API for extension modules that 
> would allow a gradual phase-out of reference counting, towards a 'pure' GC.

I believe this is possible when C code doesn't access addresses of
Python objects directly, but via handles.

http://srfi.schemers.org/srfi-50/mail-archive/msg00295.html

See "Minor" link there, and the whole SRFI-50 discussion about
FFI styles.

-- 
   __("<         Marcin Kowalczyk
   \__/       qrczak at knm.org.pl
    ^^     http://qrnik.knm.org.pl/~qrczak/


More information about the Python-3000 mailing list