summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-06-11 20:53:11 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-06-11 20:53:11 (GMT)
commit9620cc04634e720d1d016cce4bf02e0c27607e64 (patch)
tree2ec667b21d599bada69991c37907a65bb8398417 /Misc
parent9fbfe15c86a079f03f54b20106cdefa402325330 (diff)
downloadcpython-9620cc04634e720d1d016cce4bf02e0c27607e64.zip
cpython-9620cc04634e720d1d016cce4bf02e0c27607e64.tar.gz
cpython-9620cc04634e720d1d016cce4bf02e0c27607e64.tar.bz2
allow "fake" filenames in findsource (closes #9284)
This allows findsource() to work in doctests. A patch from Dirkjan Ochtman.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index d3496b0..de1c531 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -22,6 +22,9 @@ Core and Builtins
Library
-------
+- Issue #9284: Allow inspect.findsource() to find the source of doctest
+ functions.
+
- Issue #12009: Fixed regression in netrc file comment handling.
- Issue #10694: zipfile now ignores garbage at the end of a zipfile.