Greg Ewing wrote:
> Nick Coghlan wrote:
>> I'd also like to know what should happen if
>> the object's Python refcount drops to zero, but the view count is still
>> greater than 0.
>
> That shouldn't happen, because the code using the view
> ought to be responsible for holding a reference to the
> containing object as long as it's using the view.
That's what I thought, but it should probably be mentioned explicitly in
the PEP (and the eventual docs) that the memory reference needs to be in
addition to a normal object reference, rather than instead of.
Regards,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe:
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com