[issue1700463] VC6 build patch for trunk
Hirokazu Yamamoto
report at bugs.python.org
Thu Jan 3 05:58:39 CET 2008
Hirokazu Yamamoto added the comment:
Ummm, I realized my change is probably inproper...
Index: Objects/intobject.c
===================================================================
--- Objects/intobject.c (revision 59671)
+++ Objects/intobject.c (working copy)
@@ -1053,7 +1053,7 @@
static PyObject *
int_getN(PyIntObject *v, void *context) {
- return PyInt_FromLong((intptr_t)context);
+ return PyLong_FromVoidPtr(context);
}
I recreated the patch against rev59669 for now. Please try my patch on
that revision. Currently, VC6 cannot compile python on HEAD.
Added file: http://bugs.python.org/file9045/vc6-trunk-ver4b.patch
_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1700463>
_____________________________________
More information about the Python-bugs-list
mailing list