[issue40317] inspect.getsource() examines incorrect target
Karthikeyan Singaravelan
report at bugs.python.org
Sat Apr 18 10:30:24 EDT 2020
Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:
This will be resolved hopefully resolved using https://github.com/python/cpython/pull/10307 . Using my patch on the reproducer in the report.
./python bpo40317.py
123
class Number:
payload = 123
321
class Number:
payload = 321
----------
nosy: +xtreak
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40317>
_______________________________________
More information about the Python-bugs-list
mailing list