##// END OF EJS Templates
cext: unconditionally use PyLong_FromLong()...
Gregory Szorc -
r49667:9b0f1734 default
parent child Browse files
Show More
@@ -100,11 +100,7 b' static int _addpath(PyObject *dirs, PyOb'
100 }
100 }
101
101
102 /* Force Python to not reuse a small shared int. */
102 /* Force Python to not reuse a small shared int. */
103 #ifdef IS_PY3K
104 val = PyLong_FromLong(0x1eadbeef);
103 val = PyLong_FromLong(0x1eadbeef);
105 #else
106 val = PyInt_FromLong(0x1eadbeef);
107 #endif
108
104
109 if (val == NULL)
105 if (val == NULL)
110 goto bail;
106 goto bail;
General Comments 0
You need to be logged in to leave comments. Login now