Python Builds for Windows
Python on Windows is built with relatively old compiler versions: Python 2.7 with Visual Studio 2008, Python 3.3 with Visual Studio 2010. If you have an application built with any different Visual Studio version, and you have Python embedded in it, you have two problems:
- It is a very bad idea to mix different Visual C++ runtimes. See http://siomsystems.com/mixing-visual-studio-versions/ for an explanation. This means if you use the official libraries to link in Python, you are in for some nasty surprises.
- The official distribution does not contain debug libraries. For some reason I don’t fully understand the python libraries have different names for debug and release builds (rather than just be located in a different directory, as I would normally approach this). This means that you cannot easily build a working debug build of your project.
So, you need to rebuild Python with the Visual Studio version you are using. Furthermore, Python builds tend to be slow in terms of upgrading dependent components. For example, Python 2.7.6 links with OpenSSL 0.9.8y and SQLite 3.6.21. So, the aim of these pages is
- To provide Python builds with different Visual Studio versions
- To provide Python builds with up-to-date components (especially for OpenSSL and SQLite, as I am using these heavily)
- To provide Python builds with debug informations
Downloads for Python 2.x series
- Python 2.7.6 using OpenSSL 1.0.1g (fix for heartbleed issue) and SQLite 220.127.116.11, built with Visual Studio 2010
Downloads for Python 3.x series
- Python 3.3.4 using OpenSSL 1.0.1g (fix for heartbleed issue) and SQLite 18.104.22.168, built with Visual Studio 2013
On my list of things to do:
- Build Python 2.7 with Visual Studio 2013
- Build Python 3.4 with Visual Studio 2013
GK, Apr 12, 2014