Logged In: YES user_id=60314 in property-get-doc.diff: if doc is None and fget.__doc__ is not None: would raise a confusing TypeError when doc is fget is None -- check for that case explicitly to raise a specific exception. Also, property(fset=foo) used to work and thus must keep working. Similarly, the C code if ((get_doc = PyObject_GetAttrString(get, "__doc__"))) must reset the errorstate if get_doc is NULL. in property-get-doc-2.diff: Add unittest to check that property(fset=somecallable) keeps working. Alex
Logged In: YES user_id=6380 Sorry, I really don't like the callable checks. IMO they're for wimps. You should be testing your code anyway, and then bad property args will show up the first time they are called. Without those, I'm fine with the changes. Discuss on python-def if you disagree.