python-emscripten  Check-in [0a34aed2ad]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:2.7.10: disable C-patched static submodule support
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:0a34aed2add03c8058f57f8ba400e2906f4dcabab3f2894c72da23862b1d0271
User & Date: Beuc 2020-07-27 16:48:55
Context
2020-07-27
16:49
Doc fixes / clean-ups check-in: 3166b2f00b user: Beuc tags: trunk
16:48
2.7.10: disable C-patched static submodule support check-in: 0a34aed2ad user: Beuc tags: trunk
2020-06-27
14:09
Fix py3 for Emscripten 1.39.18 Notably fix build dependencies by regenerating Makefile after modifying Setup.local check-in: bb5cfad2ac user: Beuc tags: trunk
Changes

Changes to 2.7.10/patches/python2-static_submodules.patch.

1
2
3
4
5
6



7
8
9
10
11
12
13
Description: support static submodules (with dots in their path)
Forwarded: not-needed
Author: Gabriel Jacobo, Sylvain Beucler <beuc@beuc.net>
Origin: https://mdqinc.com/blog/2011/08/statically-linking-python-with-cython-generated-modules-and-packages/
Last-Update: 2018-10-28




--- Python-2.7.10/Python/import.c	2015-05-23 18:09:24.000000000 +0200
+++ Python-2.7.10/Python/import.c-patched	2018-06-22 17:59:32.148285493 +0200
@@ -1362,6 +1362,13 @@
         Py_DECREF(meta_path);
     }
 
+    // printf("PATCH: find_module(%s)\n", fullname);






>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: support static submodules (with dots in their path)
Forwarded: not-needed
Author: Gabriel Jacobo, Sylvain Beucler <beuc@beuc.net>
Origin: https://mdqinc.com/blog/2011/08/statically-linking-python-with-cython-generated-modules-and-packages/
Last-Update: 2018-10-28

For a pure-Python approach, see:
https://github.com/renpy/renpyweb/blob/d78e427ddf1f8b8ae8e93d7f1b77aab76036f481/main.c#L230

--- Python-2.7.10/Python/import.c	2015-05-23 18:09:24.000000000 +0200
+++ Python-2.7.10/Python/import.c-patched	2018-06-22 17:59:32.148285493 +0200
@@ -1362,6 +1362,13 @@
         Py_DECREF(meta_path);
     }
 
+    // printf("PATCH: find_module(%s)\n", fullname);

Changes to 2.7.10/patches/series.

1
2
3
4
5
python2-cross_compile.patch
python2-no_popen.patch
python2-static_submodules.patch
python2-webbrowser.patch
python2-no-openssl.patch


|


1
2
3
4
5
python2-cross_compile.patch
python2-no_popen.patch
#python2-static_submodules.patch
python2-webbrowser.patch
python2-no-openssl.patch