SIGN IN SIGN UP

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

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
142711a31dc1469570aa5b5e76450314d6777bb2
Parent: aff083e
Committed by GitHub <noreply@github.com> on 2/20/2024, 6:18:16 PM