Building python 2.4.2 on linux with static pthreads

2005-11-03 Thread Samuel M. Smith
ies around. An alternative solution would be to correctly copy the shared library? Any help comments would be appreciated Sam ****** Samuel M. Smith Ph.D. 2966 Fort Hill Road Eagle Mountain, Utah 84043 801-768-2768 voice 8

Configure failing why?

2005-11-15 Thread Samuel M. Smith
ver had this problem Any ideas why this is happening? ********** Samuel M. Smith Ph.D. 2966 Fort Hill Road Eagle Mountain, Utah 84043 801-768-2768 voice 801-768-2769 fax ***

Re: Configure failing why?

2005-11-15 Thread Samuel M. Smith
On 15 Nov, 2005, at 15:40, Fredrik Lundh wrote: > Samuel M. Smith wrote: > >> I am trying to build python2.4.2 on an arm 9 running Debian 3 Sarge > >> configure:1842: ./a.out >> ./configure: line 1: ./a.out: Permission denied >> configure:1845: $? = 126 &g

Re: Configure failing why?

2005-11-17 Thread Samuel M. Smith
or it. Anyone have a suggestion it would help. On 15 Nov, 2005, at 15:40, Fredrik Lundh wrote: > Samuel M. Smith wrote: > >> I am trying to build python2.4.2 on an arm 9 running Debian 3 Sarge > >> configure:1842: ./a.out >> ./configure: line 1: ./a.out: Permission de

Re: Configure failing why?

2005-11-21 Thread Samuel M. Smith
I found a workaround,that is, to disable attribute caching using the "noac" nfs option. #These two worked on tiger 10.4.3 exec -c "console=ttyAM0,115200 ip=10.0.2.155:10.0.2.150:10.0.2.1:255.255.255.0:ts7250 nfsroot=10.0.2.150:/Data/nfsroot,noac" #fstab entry they have to match 10.0.2.150:

Unexpected behavior of read only attributes and super

2005-12-06 Thread Samuel M. Smith
I have been playing around with a subclass of dict wrt a recipe for setting dict items using attribute syntax. The dict class has some read only attributes that generate an exception if I try to assign a value to them. I wanted to trap for this exception in a subclass using super but it doesn

Test Post Ignore

2005-12-06 Thread Samuel M. Smith
My posts don't seem to be showing up. This is a test. Sorry -- http://mail.python.org/mailman/listinfo/python-list

Re: Unexpected behavior of read only attributes and super

2005-12-07 Thread Samuel M. Smith
On 06 Dec, 2005, at 20:53, Steven Bethard wrote: > Samuel M. Smith wrote: >> The dict class has some read only attributes that generate an >> exception >> if I try to assign a value to them. >> I wanted to trap for this exception in a subclass using super but it >

Re: Unexpected behavior of read only attributes and super

2005-12-08 Thread Samuel M. Smith
> > > P.S. Note that there is an additional complication resulting from the > fact that functions are descriptors: > class C(dict): > ... pass > ... C.__iter__ > C().__iter__ > > > Even though the C instance is accessing the __iter__ function on the > class, it gets back a diff

Re: Unexpected behavior of read only attributes and super

2005-12-08 Thread Samuel M. Smith
> >> Then why wasn't __class__ added to c.__dict__ ? Looks like namespace >> searching to me. > > No, as you conclude later, __class__ is special, so you can still > assign > to __class__ even when __slots__ is defined because it's not > considered > a normal attribute. But note that __class__

Re: building Python 2.4.2 on Mac OS X

2006-01-08 Thread Samuel M. Smith
lue.o] Error 1 > > -- > http://mail.python.org/mailman/listinfo/python-list ********** Samuel M. Smith Ph.D. 2966 Fort Hill Road Eagle Mountain, Utah 84043 801-768-2768 voice 801-768-2769 fax **

ctypes on arm linux

2007-10-26 Thread Samuel M. Smith
r/local/src/Python-2.5.1/Modules/_ctypes/_ctypes.c:3433: error: `self' undeclared (first use in this function) /usr/local/src/Python-2.5.1/Modules/_ctypes/_ctypes.c: At top level: /usr/local/src/Python-2.5.1/Modules/_ctypes/_ctypes.c:3438: error: syntax error befo

Help ctypes on arm linux not compile

2007-10-29 Thread Samuel M. Smith
r/local/src/Python-2.5.1/Modules/_ctypes/_ctypes.c:3433: error: `self' undeclared (first use in this function) /usr/local/src/Python-2.5.1/Modules/_ctypes/_ctypes.c: At top level: /usr/local/src/Python-2.5.1/Modules/_ctypes/_ctypes.c:3438: error: syntax error befo

Re: Help ctypes on arm linux not compile

2007-10-30 Thread Samuel M. Smith
Sorry, thats a typo. Its python 2.5.1. as the error messages indicate. On 30 Oct 2007, at 02:55 , Thomas Heller wrote: > Samuel M. Smith schrieb: >> I have built python 1.5.1 from source for an embedded ARM9 debian >> linux Sarge distribution but >> ctypes doesn't bui