Building python 2.7.5 with VS2012 - Regression test failures

thakur.gautam at gmail.com thakur.gautam at gmail.com
Thu Aug 1 14:20:59 EDT 2013


I managed to build a 64bit version of Python 2.7.5 from sources with VS2012 on Windows 8 following the wiki on modifying the build files as advised for VS2010. I ran the python regression tests on the build and it cleared most of the tests and skipped a few. 

It hanged when trying to run the following tests,
- test_tuple
- test_list
- test_userlist
- test_asyncore
- test_gdb
The system would become unresponsive and I would need to force shutdown and restart.

It failed the following tests,
- test_socket
  [it failed only for two tests, test_connect & test_create_connection, the issue
   seems to be around this - AssertionError: 10061 != 107] 
- test_asynchat 
  [all errors were with respect to Errno 10035 & WSAEWOULDBLOCK]
- test_ssl 
  [it skipped stating "DLL load failed: %1 is not a valid Win32 application"]

For the following I got warnings,
- test_site [warning - modified sys.path]
- test_distutils [warning - modified os.environ]

I think test_socket and test_asynchat are to do with error codes returned as per errnomodule.c. Fixing this should be enough.

I would really appreciate any help/advise on how to deal with the above errors.



More information about the Python-list mailing list