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 kajiuma
Recipients
Date 2006-10-12.22:24:20
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
functools.wraps assumes that the wrapped function 
has a __dict__ attribute, which is not true for 
builtins.

The attached patch provides an empty dictionaries 
for functions that do not have the required 
attributes. This will cause programs expecting an 
AttributeError (if there are any) to fail.
History
Date User Action Args
2007-08-23 14:43:48adminlinkissue1576241 messages
2007-08-23 14:43:48admincreate