473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
Feb 6 '06 #1
9 1306
John Dean wrote:
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 source archives available here seem to be complete:

http://www.python.org/2.4.2/

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>

Feb 6 '06 #2
John Dean wrote:
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


Can you post a link to the tarball that you downloaded?
Feb 6 '06 #3
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
Feb 6 '06 #4
Hi

I downloaded what I thought was the source code from
http://www.python.org/2.4.2/python-2.4.2.tgz

--
Best Regards
John
Feb 6 '06 #5

[John]
That particular file doesn't include the implementation files for the core
modules.


*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
ri****@entrian.com
Feb 6 '06 #6
John Dean wrote:
I downloaded what I thought was the source code from
http://www.python.org/2.4.2/python-2.4.2.tgz


that's an error page:

Error 404: File Not Found

</F>

Feb 6 '06 #7
John Dean wrote:
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


$ 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>

Feb 6 '06 #8
On Mon, 06 Feb 2006 12:12:43 +0100, Fredrik Lundh wrote:
John Dean wrote:
I downloaded what I thought was the source code from
http://www.python.org/2.4.2/python-2.4.2.tgz


that's an error page:

Error 404: File Not Found


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

*wink*
--
Steven.

Feb 6 '06 #9
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
Feb 6 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
by: Allison Bailey | last post by:
Hi Folks, I'm a brand new Python programmer, so please point me in the right direction if this is not the best forum for this question.... I would like to open an existing MS Excel spreadsheet...
220
by: Brandon J. Van Every | last post by:
What's better about Ruby than Python? I'm sure there's something. What is it? This is not a troll. I'm language shopping and I want people's answers. I don't know beans about Ruby or have...
4
by: Ray | last post by:
I want to jump in a learn Python. I have spent about a day looking at editors and IDEs and (probably prematurely) selected jEdit to work in. I have downloaded Python and jEdit. I have been going...
1
by: M.E.Farmer | last post by:
Hello c.l.py!, I have just finished this and decided to share. PySourceColor is a module to convert Python source into colored html. Yes it has been done before, but I like this better:) You can...
29
by: Maurice LING | last post by:
Hi, I remembered reading a MSc thesis about compiling Perl to Java bytecodes (as in java class files). At least, it seems that someone had compiled scheme to java class files quite successfully....
114
by: Maurice LING | last post by:
This may be a dumb thing to ask, but besides the penalty for dynamic typing, is there any other real reasons that Python is slower than Java? maurice
37
by: Steven Bethard | last post by:
The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
64
by: Bayazee | last post by:
hi can we hide a python code ? if i want to write a commercial software can i hide my source code from users access ? we can conver it to pyc but this file can decompiled ... so ...!! do you...
4
by: renguy | last post by:
I am interested in making some changes and additions to the Python environment (Python and IDLE). I have the source code and can build the source, but what I want to know is what are the "main"...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.