Search code examples
pythoninstallationlegacy

How to compile Python 1.0


For some perverse reason, I want to try Python 1.0.. How would I go about compiling it, or rather, what is the earlier version that will compile cleanly with current compilers?

I'm using Mac OS X 10.5, although since it's for nothing more than curiosity (about how the language has changed), compiling in a Linux virtual machine is possible too..


Solution

  • Python 1.0.1 compiles perfectly under Ubuntu 8.10 using GCC 4.3.2. It should compile under Leopard, too.

    Download the source here, and compile the usual way:

    ./configure
    make
    

    UPDATE: I tested it, and it compiles under Leopard, too.