You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
inspect.getsource regressions for functions decorated with multi-line @(...) decorators. #140731
Activity
picnixz commentedon Oct 28, 2025
It could be a duplicate of #139838.
picnixz commentedon Oct 28, 2025
cc @serhiy-storchaka
serhiy-storchaka commentedon Oct 29, 2025
Yes, this is a duplicate of #139838. Although this is more realistic use case which can occur in real code.
picnixz commentedon Oct 29, 2025
I'm closing this one but forwards the repro
f.__code__.co_firstlinenofor decorated functions #139838