[issue9503] print statement hangs Windows service

2010-08-04 Thread rgpitts
New submission from rgpitts : OS: Windows 2003 Server R2 x64 Standard Edition Python: 2.6.5 MSVC: 9.0 Application Description: Windows service calling Python C API to run algorithm written in Python. I've been encountering a random application hang when calling the Python C API fun

[issue9503] print statement hangs Windows service

2010-08-04 Thread rgpitts
rgpitts added the comment: I've created a test service that demostrates the problem. The example service calls PyRun_SimpleString in loop that evaluates the Python statement "print 'String'". The number of iteration in the loop depends on the length of the string us

[issue6820] Redefinition of HAVE_STRFTIME can cause compiler errors.

2011-07-21 Thread rgpitts
rgpitts added the comment: As Python 2.6 is now security only and 2.7 is last major release I've patched this against Python 3.2 because pyconfig.h hadn't changed much since 2.6. I've done as Amaury suggested and changed the HAVE_XXX symbols to define 1 like autoconf. '

[issue6820] Redefinition of HAVE_STRFTIME can cause compiler errors.

2009-09-02 Thread rgpitts
New submission from rgpitts : I'm working with the Python C API and omniOrb with Visual Studio 2008 on Windows XP. A OmniOrb header corba_sys_dep.h is defining HAVE_STRFTIME as 1 ... #define HAVE_STRFTIME 1 ... pyconfig.h is then defining this again. ... #define HAVE_STRFTIME ... Th