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

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

(cherry picked from commit ccfc042bbf31e53c44b8aae444afd8365b798422)

* [3.12] 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]