[Patches] Re: Trashcan vs. GC vs. TRACE_REFS

Christian Tismer tismer@tismer.com
Wed, 26 Apr 2000 13:52:32 +0200


Skip Montanaro wrote:
...
> Isn't this a problem because the ob_type field is effectively being used for
> two competing purposes (I haven't been following *real* closely for fear of
> someone slamming on the brakes...)?  Is there some way to split those two
> functions into two separate fields, at least when Py_TRACE_REFS is defined?

Aahh - that sounds good.

Proposal: (given Py_TRACE_REFS)
- allow ob_type to be wiped as it is done today
- add ob_typebak and save the type there
- in Neil's code refer to ob_typebak

yes these were in fact competing purposes - ciao - chris

-- 
Christian Tismer             :^)   <mailto:tismer@appliedbiometrics.com>
Applied Biometrics GmbH      :     Have a break! Take a ride on Python's
Kaunstr. 26                  :    *Starship* http://starship.python.net
14163 Berlin                 :     PGP key -> http://wwwkeys.pgp.net
PGP Fingerprint       E182 71C7 1A9D 66E9 9D15  D3CC D4D7 93E2 1FAE F6DF
     where do you want to jump today?   http://www.stackless.com