author | Girish Moodalbail <Girish.Moodalbail@oracle.COM> |
Tue, 02 Jun 2015 12:43:22 -0600 | |
changeset 4389 | a44bb9a2917e |
parent 2033 | fe424cca0a17 |
permissions | -rw-r--r-- |
2033
fe424cca0a17
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. |
fe424cca0a17
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 |
fe424cca0a17
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
3 |
|
fe424cca0a17
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 |
fe424cca0a17
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 |
fe424cca0a17
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 @@ |
fe424cca0a17
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 */ |
fe424cca0a17
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
8 |
|
fe424cca0a17
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" |
fe424cca0a17
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" |
fe424cca0a17
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> |
fe424cca0a17
19339814 Python 3.4 needs tweak to find shared objects under vendor-packages
John Beck <John.Beck@Oracle.COM>
parents:
diff
changeset
|
12 |
|
fe424cca0a17
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 |
fe424cca0a17
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 |