From: R David Murray Date: Sun, 23 Feb 2014 14:41:27 +0000 (-0500) Subject: whatsnew: ExtensionFileLoader.get_filename. X-Git-Tag: v3.4.1rc1~233^2~234 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a183064d8600b0fdcd43e24973f1b8dff80977c0;p=thirdparty%2FPython%2Fcpython.git whatsnew: ExtensionFileLoader.get_filename. Also reflow mmap paragraph. --- diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst index e5b79b348236..461a8b8cd109 100644 --- a/Doc/whatsnew/3.4.rst +++ b/Doc/whatsnew/3.4.rst @@ -828,6 +828,11 @@ by Brett Cannon in :issue:`18058`.) that decodes source from bytes using universal newline processing. This is useful for implementing :meth:`.InspectLoader.get_source` methods. +:class:`importlib.machinery.ExtensionFileLoader` now has a +:meth:`~importlib.machinery.ExtensionFileLoader.get_filename` method. This was +inadvertently omitted in the original implementation. (Contributed by Eric +Snow in :issue:`19152`.) + inspect ------- @@ -895,8 +900,8 @@ memory a module occupies in memory when it is loaded from a ``.pyc`` (or mmap ---- -mmap objects can now be weakref'ed. -(Contributed by Valerie Lambert in :issue:`4885`.) +mmap objects can now be weakref'ed. (Contributed by Valerie Lambert in +:issue:`4885`.) mock