summaryrefslogtreecommitdiffstats
path: root/Python/compile.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-02-20 18:14:24 (GMT)
committerGitHub <noreply@github.com>2024-02-20 18:14:24 (GMT)
commitf1c1afd45b283b5ede3b1da39fc916c9ba2a6095 (patch)
tree203c745e82d384f1019749590eef27ab77da180d /Python/compile.c
parent5ea86f496a4cfb34abbe2b7bb6fa7f25eeeb6294 (diff)
downloadcpython-f1c1afd45b283b5ede3b1da39fc916c9ba2a6095.zip
cpython-f1c1afd45b283b5ede3b1da39fc916c9ba2a6095.tar.gz
cpython-f1c1afd45b283b5ede3b1da39fc916c9ba2a6095.tar.bz2
[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>
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions