summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorErlend Egeberg Aasland <erlend.aasland@innova.no>2021-05-11 23:26:30 (GMT)
committerGitHub <noreply@github.com>2021-05-11 23:26:30 (GMT)
commit8563a7052ccd98e6a381d361664ce567afd5eb6e (patch)
tree6a48de437ce5a5d2df98b62d1408c89226dbebfe /Misc/NEWS.d
parentc1df8808e054bbe4fe66f35ccc0f88d8b292778a (diff)
downloadcpython-8563a7052ccd98e6a381d361664ce567afd5eb6e.zip
cpython-8563a7052ccd98e6a381d361664ce567afd5eb6e.tar.gz
cpython-8563a7052ccd98e6a381d361664ce567afd5eb6e.tar.bz2
bpo-28528: Fix pdb.checkline() attribute error when 'curframe' is None. (#25438)
Co-authored-by: Thomas Kluyver <takowl@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2021-04-29-00-48-00.bpo-28528.JLAVWj.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2021-04-29-00-48-00.bpo-28528.JLAVWj.rst b/Misc/NEWS.d/next/Library/2021-04-29-00-48-00.bpo-28528.JLAVWj.rst
new file mode 100644
index 0000000..97731ad
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2021-04-29-00-48-00.bpo-28528.JLAVWj.rst
@@ -0,0 +1,2 @@
+Fix a bug in :mod:`pdb` where :meth:`~pdb.Pdb.checkline` raises
+:exc:`AttributeError` if it is called after :meth:`~pdb.Pdb.reset`.