homepage

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 simon.percivall
Recipients
Date 2004年08月09日.21:32:27
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The getsource function in inspect.py breaks badly with
the @decorators.
The inspect mechanism scans backwards from the topmost
decorator until it finds some acceptable statement (it
can be anything: another function, an import line, etc.).
The patch takes care of that. It'll print all
decorators for a function as well as the function itself.
History
Date User Action Args
2007年08月23日 15:39:14adminlinkissue1006219 messages
2007年08月23日 15:39:14admincreate

AltStyle によって変換されたページ (->オリジナル) /