Another question about extending Python

Erik Max Francis max at alcyone.com
Sat Dec 14 16:17:15 EST 2002


"Martin v. Löwis" wrote:

> I'm not entirely sure what a malloc/free callback is, ...

A callback system so that a library user can specify the
allocation/deallocation routines to be used.  This would seem like a
good idea to include in Python's embedding system, since in the general
world of library components you've no guarantee that any two components
will be using the same allocator.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ A physicist is an atom's way of knowing about atoms.
\__/ George Wald
    Python chess module / http://www.alcyone.com/pyos/chess/
 A chess game adjudicator in Python.



More information about the Python-list mailing list