Python vs Ruby

Neil Schemenauer nas at arctrix.com
Mon Jan 29 04:46:20 EST 2001


On Mon, Jan 29, 2001 at 11:18:20AM -0500, D-Man wrote:
> Just out of curiosity, how do/did you disable the ref counting
> in the interpreter?

I believe I removed ob_refcnt from the PyObject struct and made
the Py_INCREF and Py_DECREF macros do nothing.

> All the tests I've seen of the Boehm collector used C programs
> originally designed for malloc/free, not using any ref counting
> schemes.  Maybe this has an effect?

Probably. :-)

  Neil




More information about the Python-list mailing list