Skip to content

Commit e6990e0

Browse files
committed
Mention breaking zipimport as a disadvantage
1 parent b4606d8 commit e6990e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

source/extensions.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ This means that binary extensions:
8787
and introducing additional complexity in the test suite to ensure both
8888
versions are always executed.
8989

90+
Another disadvantage of relying on binary extensions is that alternative
91+
import mechanisms (such as the ability to import modules directly from
92+
zipfiles) often won't work for extension modules (as the dynamic loading
93+
mechanisms on most platforms can only load libraries from disk).
94+
9095

9196
Alternatives to handcoded accelerator modules
9297
---------------------------------------------

0 commit comments

Comments
 (0)