msg52442 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2007-04-14 04:06 |
Hello. This is follow up patch for current trunk. I confirmed testall.py passes on VC6 except for test_normalization.py. (I needed to expand python_d.exe's stack size to 1MB, though. otherwise, test_excepsion.py etc crashes with stack overflow) # error of test_normalization.py FAILED (errors=1) Traceback (most recent call last): File "test_normalization.py", line 94, in test_main() File "test_normalization.py", line 91, in test_main run_unittest(NormalizationTest) File "e:\python-dev\trunk\lib\test\test_support.py", line 557, in run_unittest run_suite(suite, testclass) File "e:\python-dev\trunk\lib\test\test_support.py", line 542, in run_suite raise TestFailed(err) test.test_support.TestFailed: Traceback (most recent call last): File "test_normalization.py", line 36, in test_main for line in open_urlresource(TESTDATAURL): File "e:\python-dev\trunk\lib\test\test_support.py", line 271, in open_urlreso urce requires('urlfetch') File "e:\python-dev\trunk\lib\test\test_support.py", line 94, in requires raise ResourceDenied(msg) ResourceDenied: Use of the `urlfetch' resource not enabled |
|
|
msg56746 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2007-10-25 14:11 |
I updated patch. To avoid conflict <winsock.h> and <winsock2.h>, WIN32_LEAN_AND_MEAN is needed. |
|
|
msg59093 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2008-01-02 14:11 |
I updated the patch. - Added missing _msi support - Workaround for PC/msvcrtmodule.c (getwch not exists on VC6) |
|
|
msg59122 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2008-01-03 04:47 |
Sorry, I updated the patch again. - Add Python/pystrcmp.c to pythoncore.dsp. - Rev59671 contains intptr_t unavailable on VC6, avoid compile error by using PyLong_FromVoidPtr(). |
|
|
msg59123 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2008-01-03 04:58 |
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. |
|
|
msg59124 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2008-01-03 05:09 |
Umm, I found Py_intptr_t... OK, VC6 can compile HEAD. Please forget previous patch. I confirmed test_long.py, test_math.py, test_builtin.py successfully runs. |
|
|
msg59235 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2008-01-04 16:17 |
I zipped PC/VC6/* as files. |
|
|
msg59236 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2008-01-04 16:18 |
I zipped PC/VC6/* as files. |
|
|
msg59237 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2008-01-04 16:23 |
Oops, sorry for double post. My network provider now stucks somehow... |
|
|
msg61294 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2008-01-20 14:07 |
Rev59716 required some fix. I'm not sure the patch for Lib/socket.py is apropriate. |
|
|
msg62239 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2008-02-09 23:05 |
Please don't apply this patch now. VC6 build fails from rev.60696 |
|
|
msg64154 - (view) |
Author: Hirokazu Yamamoto (ocean-city) *  |
Date: 2008-03-20 05:44 |
contains the patch for this branch too, so I'll close this issue. |
|
|