9fans archive / 2000 / 11 / 70 /    prev next

From: Jonathan Sergent <sergent@cso...>
Subject: Re: [9fans] Re: Perl5 & kenji arisawa's perl question 
Date: Mon, 06 Nov 2000 03:03:23 -0500

> 
> I also thank Nigel. Please give me Python 1.6.
> 

How's this:

$ ls -l python
--rwxr-xr-x M 3 sergent sergent 3193673 Nov  5 23:27 python
$ ./python
Python 2.0 (#3, Nov  5 2000, 23:27:32) [C] on plan91
Type "copyright", "credits" or "license" for more information.
>>> 

Check out that executable size...

Usually Python uses dynamic linking to load most of the modules.  If I get
up the courage, I will see if I can make GNU dld work (it does dynamic
module loading, supposedly portably, but I have not looked into it)
since Python already has support for it.

Out of the regression test suite, test_cmath, test_openpty, test_popen2,
and test_socket failed.  The first two caused python to suicide; the
second two generated error messages.  The test_socket error was a host
name resolution thing.  Does gethostbyname in APE work?  Does DNS work
with it?  Seems like someone mentioned this a while back.

Building Python was not that hard; I spent maybe two hours.

It's probably not that useful without the dynamic module loading, which
most Python programs I have seen use to load C code.  This would also
reduce the python executable size significantly...


--jss.