473,804 Members | 3,030 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1326
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
35568
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 and extract information from specific worksheets and cells. I'm not really sure how to get started with this process. I ran the COM Makepy utility from my PythonWin (IDE from ActiveSTate),
220
19189
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 any preconceived ideas about it. I have noticed, however, that every programmer I talk to who's aware of Python is also talking about Ruby. So it seems that Ruby has the potential to compete with and displace Python. I'm curious on what basis it...
4
15741
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 over jEdit for a while and can't real see how to get it to know that I am using Python. So there is more there than I expected. Any suggestions on how to configure (plugg-ins?) for jEdit and learn Python? Ray
1
2579
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 easily define your own colorscheme. example usage: # Highlight PySourceColor.py python PySourceColor.py or # Show help
29
3459
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. I'm wondering if something of such had been attempted in python, as in compiling X language into .pyc. I do not understand the schematics of .pyc files but I assume that they are the so called python bytecode files. Or is there any...
114
9895
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
3316
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 http://ucsu.colorado.edu/~bethard/py/pep_create_statement.html PEP: XXX Title: The create statement
64
7558
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 have any idea about this ...? --------------------------------------- First Iranian Open Source Community : www.python.ir
4
1550
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" functions or source code for Python and IDLE. Specifically I would like to know what in Python and IDLE would be analogous to void main () in a standard C program. This will help me to work out the structure of the interpreter and the environment....
0
9579
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10571
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10326
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10317
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9143
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7615
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5520
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.