Issue #16421: allow to load multiple modules from the same shared obj… · pythoncapi/cpython@6b2cbeb · GitHub
Skip to content

Commit 6b2cbeb

Browse files
committed
Issue python#16421: allow to load multiple modules from the same shared object.
Patch by Václav Šmilauer.
1 parent f76f0ee commit 6b2cbeb

12 files changed

Lines changed: 887 additions & 10 deletions

File tree

Lib/test/test_imp.py

Lines changed: 14 additions & 0 deletions

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1109,6 +1109,7 @@ George Sipe
11091109
J. Sipprell
11101110
Kragen Sitaker
11111111
Michael Sloan
1112+
Václav Šmilauer
11121113
Christopher Smith
11131114
Eric V. Smith
11141115
Gregory P. Smith

Misc/NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ What's New in Python 3.4.0 Alpha 1?
1010
Core and Builtins
1111
-----------------
1212

13+
- Issue #16421: loading multiple modules from one shared object is now
14+
handled correctly (previously, the first module loaded from that file
15+
was silently returned). Patch by Václav Šmilauer.
16+
1317
- Issue #16602: When a weakref's target was part of a long deallocation
1418
chain, the object could remain reachable through its weakref even though
1519
its refcount had dropped to zero.

Modules/_testimportmultiple.c

Lines changed: 57 additions & 0 deletions

0 commit comments

Comments
 (0)