This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aleax
Recipients
Date 2006-02-18.15:21:31
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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
History
Date User Action Args
2007-08-23 15:45:52adminlinkissue1434038 messages
2007-08-23 15:45:52admincreate