SIGN IN SIGN UP

[3.12] gh-86291: linecache: get module name from __spec__ if available (GH-22908) (GH-115731)

This allows getting source code for the __main__ module when a custom
loader is used.
(cherry picked from commit e976baba99a5c243ff3a3b5ef2fd14608a398338)

Co-authored-by: Eugene Toder <eltoder@users.noreply.github.com>
M
Miss Islington (bot) committed
f1c1afd45b283b5ede3b1da39fc916c9ba2a6095
Parent: 5ea86f4
Committed by GitHub <noreply@github.com> on 2/20/2024, 6:14:24 PM