There is a small thread on python-dev discussing this:
http://www.python.org/pipermail/python-dev/2000-October/016455.html
Basically I found that PyOS_CheckStack does not fire as expected on Win64. Looking into this more I got frustrated with PyOS_CheckStack's behaviour on *Win32*. There is a simple workaround (the existing RECURSION_LIMIT framework) that could simply be turned on to ensure that test_[s]re.py run for Python 2.0. The PyOS_CheckStack behavious on Win64 can be figured out when it become more mainstream.
The proposed fix is:
*** Include\pythonrun.h~ Wed Oct 04 14:18:00 2000
--- Include\pythonrun.h Wed Oct 04 13:17:17 2000
***************
*** 88,94 ****
to a 8k margin. */
#define PYOS_STACK_MARGIN 2048
! #if defined(WIN32) && defined(_MSC_VER)
/* Enable stack checking under Microsoft C */
#define USE_STACKCHECK
#endif
--- 88,94 ----
to a 8k margin. */
#define PYOS_STACK_MARGIN 2048
! #if defined(WIN32) && !defined(MS_WIN64) && defined(_MSC_VER)
/* Enable stack checking under Microsoft C */
#define USE_STACKCHECK
#endif
|