[issue40317] inspect.getsource() examines incorrect target

Karthikeyan Singaravelan report at bugs.python.org
Sat Apr 18 12:34:05 EDT 2020


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

Fixed in master now with https://github.com/python/cpython/commit/696136b993e11b37c4f34d729a0375e5ad544ade . This includes the change of show decorators for classes too to make it consistent with functions so it's not backported.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40317>
_______________________________________


More information about the Python-bugs-list mailing list