]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-87115: Set `__main__.__spec__` to `None` in pdb (GH-116141) (#116155)
authorTian Gao <gaogaotiantian@hotmail.com>
Thu, 29 Feb 2024 23:24:32 +0000 (15:24 -0800)
committerGitHub <noreply@github.com>
Thu, 29 Feb 2024 23:24:32 +0000 (23:24 +0000)
commitd3282f541182c80b9e4df4300b5ed687c718c14b
treeee6c3cd38f7b32261cb8564bcdab67cb6c8f8a05
parentda34d55f7f62cfbda71758e6c6febf047ecd14e7
[3.11] gh-87115: Set `__main__.__spec__` to `None` in pdb (GH-116141) (#116155)

* gh-87115: Set `__main__.__spec__` to `None` in pdb (#116141)

(cherry picked from commit ccfc042bbf31e53c44b8aae444afd8365b798422)

* [3.11] gh-87115: Set `__main__.__spec__` to `None` in pdb (GH-116141)
(cherry picked from commit ccfc042bbf31e53c44b8aae444afd8365b798422)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
Lib/pdb.py
Lib/test/test_pdb.py
Misc/NEWS.d/next/Library/2024-02-29-20-06-06.gh-issue-87115.FVMiOR.rst [new file with mode: 0644]