New PEP: Attribute Access Handlers

Greg Ewing to_get_my_address at see.my.signature
Thu Jul 27 01:09:22 EDT 2000


Toby Dickenson wrote:
> 
> I can see some cases where it would be appealing to implement a
> property access handler in a C extension. Is it worth dedicating a
> slot in PyTypeObject for these things?

I don't think that's necessary, because attribute access
for C objects already goes through a getattr handler in
the type object.

-- 
Greg Ewing, Computer Science Department, 
University of Canterbury, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg



More information about the Python-list mailing list