Message357432
Thanks for the report!
Turns out this was a bug in ``inspect.BlockFinder`` which is responsible for extracting out the source code from a given block. This class was considering ")" inside a decorator call as closing the decorator itself, even when the decorator call was accepting additional arguments that needed parentheses, such as function calls or tuples.
Just submitted a PR https://github.com/python/cpython/pull/17374 to address this issue. |
|
Date |
User |
Action |
Args |
2019-11-25 08:53:31 | Claudiu.Popa | set | recipients:
+ Claudiu.Popa, crusaderky |
2019-11-25 08:53:31 | Claudiu.Popa | set | messageid: <1574672011.11.0.705401164672.issue38854@roundup.psfhosted.org> |
2019-11-25 08:53:31 | Claudiu.Popa | link | issue38854 messages |
2019-11-25 08:53:30 | Claudiu.Popa | create | |
|