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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1700463>
_____________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com