Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a183064

Browse files
committed
whatsnew: ExtensionFileLoader.get_filename.
Also reflow mmap paragraph.
1 parent f0b5a7c commit a183064

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Doc/whatsnew/3.4.rst

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -828,6 +828,11 @@ by Brett Cannon in :issue:`18058`.)
828828
that decodes source from bytes using universal newline processing. This is
829829
useful for implementing :meth:`.InspectLoader.get_source` methods.
830830

831+
:class:`importlib.machinery.ExtensionFileLoader` now has a
832+
:meth:`~importlib.machinery.ExtensionFileLoader.get_filename` method. This was
833+
inadvertently omitted in the original implementation. (Contributed by Eric
834+
Snow in :issue:`19152`.)
835+
831836

832837
inspect
833838
-------
@@ -895,8 +900,8 @@ memory a module occupies in memory when it is loaded from a ``.pyc`` (or
895900
mmap
896901
----
897902

898-
mmap objects can now be weakref'ed.
899-
(Contributed by Valerie Lambert in :issue:`4885`.)
903+
mmap objects can now be weakref'ed. (Contributed by Valerie Lambert in
904+
:issue:`4885`.)
900905

901906

902907
mock

0 commit comments

Comments
 (0)