commit | 0eb4ac4c6258ecbcbcb65022f3987fe30f31f527 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Jun 11 15:53:11 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Jun 11 15:53:11 2011 -0500 |
tree | 24b81f9adb51190ddff71d3d115293393de7b573 | |
parent | 6abd97e3b2adbce537c65099d480e088bb348ea0 [diff] [blame] |
allow "fake" filenames in findsource (closes #9284) This allows findsource() to work in doctests. A patch from Dirkjan Ochtman.
diff --git a/Misc/NEWS b/Misc/NEWS index b15da79..bbd076a 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -16,6 +16,9 @@ Library ------- +- Issue #9284: Allow inspect.findsource() to find the source of doctest + functions. + - Issue #10694: zipfile now ignores garbage at the end of a zipfile. - Issue #11583: Speed up os.path.isdir on Windows by using GetFileAttributes