X Tutup
Skip to content

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

Merged
Yhg1s merged 1 commit intopython:3.13from
miss-islington:backport-f88c14d-3.13
Sep 2, 2024
Merged

[3.13] gh-122981: Fix inspect.getsource() for generated classes with Python base classes (GH-123001)#123182
Yhg1s merged 1 commit intopython:3.13from
miss-islington:backport-f88c14d-3.13

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 20, 2024

Look up firstlineno only in the class' dict, without searching in
base classes.
(cherry picked from commit f88c14d)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…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 <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup