![]() |
Python Interpreters & Versions
Updated 11 Aug 2008
|
Upper levels: - QuArK Information Base - 4. The Source Code - 4.4. Specific Topics |
4.4.7. Python Interpreters & Versions |
[ | - - ]
Python support and versioning is implemented in 'source/python/Python.pas' and 'source/python/PyVersions.inc'. QuArK first looks for the 'dlls/Python.dll', and if that is not found, it looks for the appropriate DLL using the default Windows search behaviour. The following versions are supported with the appropriate defines set.
Note that if you downloaded a source distribution of QuArK, the appropriate 'python.dll' should be included in the archive. The bundled Python support is to get around the fact that the version of Python supported can only be set at compile time. It substantially simplifies the installation process for the end user, and makes only one download necessary. It also ensures that all end users are running the same version of Python, removing a possible source of bugs (people using the wrong version of Python for the QuArK binary they have). It also allows us to go ahead with writing code that requires features only available in more recent versions of Python. |
Copyright (c) 2009, GNU General Public License by The QuArK (Quake Army Knife) Community - http://quark.sourceforge.net/ |
[ Top - ] | -