author | John Beck <John.Beck@Oracle.COM> |
Wed, 06 Aug 2014 10:14:32 -0700 | |
branch | s11-update |
changeset 3782 | 689605272627 |
permissions | -rw-r--r-- |
3782
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
1 |
This patch has been submitted upstream, but has not yet been accepted. |
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
2 |
http://bugs.python.org/issue22148 |
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
3 |
|
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
4 |
--- Python-3.4.1/Python/frozen.c.~1~ 2014-03-16 19:31:31.000000000 -0700 |
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
5 |
+++ Python-3.4.1/Python/frozen.c 2014-08-04 15:06:16.419797757 -0700 |
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
6 |
@@ -2,7 +2,7 @@ |
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
7 |
/* Dummy frozen modules initializer */ |
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
8 |
|
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
9 |
#include "Python.h" |
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
10 |
-#include "importlib.h" |
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
11 |
+#include <importlib.h> |
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
12 |
|
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
13 |
/* In order to test the support for frozen modules, by default we |
689605272627
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
14 |
define a single frozen module, __hello__. Loading it will print |