[Python-Dev] deja-vu .. python locking

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 19 06:58:41 CEST 2006


Martin Devera wrote:

> As I've written in "Big reader lock" paragraph of the original proposal, these
> objects could be handled by not blocking in read path

But as was just pointed out, because of refcounting,
there's really no such thing as read-only access to
an object. What *looks* like read-only access at the
Python level involves refcount updates just from the
act of touching the object.

-- 
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | Carpe post meridiem!          	  |
Christchurch, New Zealand	   | (I'm not a morning person.)          |
greg.ewing at canterbury.ac.nz	   +--------------------------------------+


More information about the Python-Dev mailing list