[Python-Dev] Python 32- and 64-bit living together

M.-A. Lemburg mal at egenix.com
Fri Apr 11 19:38:18 CEST 2008

On 2008-04-11 19:10, Sérgio Durigan Júnior wrote:
> Hi all,
> My question is simple: is there any problem when installing/using both
> 32- and 64-bit Python's on the same machine? I'm more concerned about
> header files (those installed under /usr/include/python-2.x), because as
> far as I could see there's nothing similar to a "#ifdef USE_64BIT" or
> something on them.

The include files are all static and can be used on both 32-bit and
64-bit platforms or installations.

Only the /usr/lib/python2.x files differ between 32-bit and 64-bit
(the configuration files are in /usr/lib/python2.x/config).

Marc-Andre Lemburg

Professional Python Services directly from the Source  (#1, Apr 11 2008)
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/

:::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,MacOSX for free ! ::::

    eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
     D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
            Registered at Amtsgericht Duesseldorf: HRB 46611

More information about the Python-Dev mailing list