Python V2.4.2 source code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • John Dean

    #1

    Python V2.4.2 source code

    Hi

    Does anybody know from where I can get a copy of the source for Python
    V2.4.2. I downloaded what is reckoned to be the source code from
    www.python.org, but is turns out to be the MacXOS version with the core
    modules missing. The reason I am looking for the source code is so I can
    make a debug build

    --
    Best Regards
    John
  • Fredrik Lundh

    #2
    Re: Python V2.4.2 source code

    John Dean wrote:
    [color=blue]
    > Does anybody know from where I can get a copy of the source for Python
    > V2.4.2. I downloaded what is reckoned to be the source code from
    > www.python.org, but is turns out to be the MacXOS version with the core
    > modules missing.[/color]

    the source archives available here seem to be complete:

    The official home of the Python Programming Language


    note that there are no separate source distributions for specific platforms.
    the source archive contain lots of platform-specific directories and modules,
    including modules for OS X.

    </F>



    Comment

    • Patrick M. Rutkowski

      #3
      Re: Python V2.4.2 source code

      John Dean wrote:
      [color=blue]
      > Hi
      >
      > Does anybody know from where I can get a copy of the source for Python
      > V2.4.2. I downloaded what is reckoned to be the source code from
      > www.python.org, but is turns out to be the MacXOS version with the core
      > modules missing. The reason I am looking for the source code is so I can
      > make a debug build
      >[/color]

      Can you post a link to the tarball that you downloaded?

      Comment

      • John Dean

        #4
        Re: Python V2.4.2 source code

        Hi

        That particular file doesn't include the implementation files for the core
        modules. The platform specific directories only include two or three files.
        Only the Mac directory contains any C code files

        --
        Best Regards
        John

        Comment

        • John Dean

          #5
          Re: Python V2.4.2 source code

          Hi

          I downloaded what I thought was the source code from
          The official home of the Python Programming Language


          --
          Best Regards
          John

          Comment

          • Richie Hindle

            #6
            Re: Python V2.4.2 source code


            [John][color=blue]
            > That particular file doesn't include the implementation files for the core
            > modules.[/color]

            *Which* particular file? Give us a URL. The source tarball at
            http://www.python.org/2.4.2/ (full URL
            http://www.python.org/ftp/python/2.4.2/Python-2.4.2.tgz) contains the full
            source.

            --
            Richie Hindle
            richie@entrian. com

            Comment

            • Fredrik Lundh

              #7
              Re: Python V2.4.2 source code

              John Dean wrote:
              [color=blue]
              > I downloaded what I thought was the source code from
              > http://www.python.org/2.4.2/python-2.4.2.tgz[/color]

              that's an error page:

              Error 404: File Not Found

              </F>



              Comment

              • Fredrik Lundh

                #8
                Re: Python V2.4.2 source code

                John Dean wrote:
                [color=blue]
                > That particular file doesn't include the implementation files for the core
                > modules. The platform specific directories only include two or three files.
                > Only the Mac directory contains any C code files[/color]

                $ date -u
                Mon Feb 6 11:14:15 UTC 2006
                $ wget http://www.python.org/ftp/python/2.4.2/Python-2.4.2.tgz
                ....
                Resolving www.python.org... done.
                Connecting to www.python.org[82.94.237.218]:80... connected.
                HTTP request sent, awaiting response... 200 OK
                Length: 9,239,975 [application/x-tar]
                ....
                12:14:42 (477.76 KB/s) - `Python-2.4.2.tgz' saved [9239975/9239975]

                $ tar tvfz Python-2.4.2.tgz | grep .c$ | wc
                321 1926 28606
                $ tar tvfz Python-2.4.2.tgz | grep .c$ | more
                -rw-r--r-- anthony/anthony 1591 2001-11-17 07:30:20 Python-2.4.2/Demo/embed/demo.c
                -rw-r--r-- anthony/anthony 255 2001-02-20 21:54:28 Python-2.4.2/Demo/embed/importexc.c
                ....
                -rw-r--r-- anthony/anthony 43071 2003-11-20 14:30:55 Python-2.4.2/Mac/Modules/ae/_AEmodule.c
                -rw-r--r-- anthony/anthony 3680 2003-11-20 14:30:55 Python-2.4.2/Mac/Modules/ah/_AHmodule.c
                ....
                -rw-r--r-- anthony/anthony 5531 2004-08-02 15:24:54 Python-2.4.2/Modules/_bisectmodule.c
                -rw-r--r-- anthony/anthony 142654 2004-12-16 10:48:37 Python-2.4.2/Modules/_bsddb.c
                ....
                -rw-r--r-- anthony/anthony 47941 2005-08-21 13:09:58 Python-2.4.2/Objects/abstract.c
                -rw-r--r-- anthony/anthony 4895 2003-04-19 20:15:10 Python-2.4.2/Objects/boolobject.c
                ....
                -rw-r--r-- anthony/anthony 447 2004-09-08 17:56:39 Python-2.4.2/PC/WinMain.c
                -rw-r--r-- anthony/anthony 13393 2004-11-07 15:30:34 Python-2.4.2/PC/_subprocess.c
                ....
                -rw-r--r-- anthony/anthony 815 2001-07-26 15:41:06 Python-2.4.2/Python/atof.c
                -rw-r--r-- anthony/anthony 59696 2005-09-15 12:46:18 Python-2.4.2/Python/bltinmodule.c
                .... (etc)

                sounds like your gzip/tar utilities are broken.

                </F>



                Comment

                • Steven D'Aprano

                  #9
                  Re: Python V2.4.2 source code

                  On Mon, 06 Feb 2006 12:12:43 +0100, Fredrik Lundh wrote:
                  [color=blue]
                  > John Dean wrote:
                  >[color=green]
                  >> I downloaded what I thought was the source code from
                  >> http://www.python.org/2.4.2/python-2.4.2.tgz[/color]
                  >
                  > that's an error page:
                  >
                  > Error 404: File Not Found[/color]

                  Ah, that explains why it wouldn't compile...

                  *wink*


                  --
                  Steven.

                  Comment

                  • John Dean

                    #10
                    Re: Python V2.4.2 source code

                    Hi
                    Thank you very much. It seems the version tar that is embedded in WinRAR is
                    broken. It gets as far as the Mac directory and then bombs out. The version
                    of tar that is bundled with CygWin worked just fine

                    --
                    Best Regards
                    John

                    Comment

                    Working...