Message46614
| 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:14 | admin | link | issue1006219 messages |
| 2007年08月23日 15:39:14 | admin | create |
|