James Y Knight wrote:
> All right, then, you could use the top bit of the ob_refcnt field.  
> There's no way to possibly have 2**32 objects on a 32bit system anyhow.

Of this kind, we have several spare bits: there are atleast two bits
in the ob_type field, since the type pointer is atleast 4-aligned
on all platforms we support.

OTOH, using these bits would break existing code.

Regards,
Martin
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to