Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.13] gh-122981: Fix inspect.getsource() for generated classes with Python base classes (GH-123001) #123182

Merged
merged 1 commit into from
Sep 2, 2024

Commits on Aug 20, 2024

  1. pythongh-122981: Fix inspect.getsource() for generated classes with P…

    …ython base classes (pythonGH-123001)
    
    Look up __firstlineno__ only in the class' dict, without searching in
    base classes.
    (cherry picked from commit f88c14d)
    
    Co-authored-by: Serhiy Storchaka <[email protected]>
    serhiy-storchaka authored and miss-islington committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    f19222e View commit details
    Browse the repository at this point in the history