[Python-3000] PEP Draft: Enhancing the buffer protcol

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 28 04:58:07 CET 2007


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.

--
Greg


More information about the Python-3000 mailing list