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 build. Anybody have any idea what

Help ctypes on arm linux not compile

2007-10-29 Thread Samuel M. Smith
/Modules/_ctypes/_ctypes.c:3448: error: `self' undeclared (first use in this function) ** Samuel M. Smith Ph.D. 2966 Fort Hill Road Eagle Mountain, Utah 84005-4108 801-768-2768 voice 801-768-2769 fax

ctypes on arm linux

2007-10-26 Thread Samuel M. Smith
/Modules/_ctypes/_ctypes.c:3448: error: `self' undeclared (first use in this function) ** Samuel M. Smith Ph.D. 2966 Fort Hill Road Eagle Mountain, Utah 84005-4108 801-768-2768 voice 801-768-2769 fax

Re: building Python 2.4.2 on Mac OS X

2006-01-08 Thread Samuel M. Smith
/python-list ** Samuel M. Smith Ph.D. 2966 Fort Hill Road Eagle Mountain, Utah 84043 801-768-2768 voice 801-768-2769 fax ** The greatest source of failure

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__ slot wrapper '__iter__' of 'dict' objects C().__iter__ method-wrapper object at 0x00E74A10 Even though the C instance is accessing the

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__ is an

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 doesn't happen. class SD(dict

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

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

Configure failing why?

2005-11-15 Thread Samuel M. Smith
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 ** The greatest

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 configure:1854: error: cannot run C++ compiled programs

Building python 2.4.2 on linux with static pthreads

2005-11-03 Thread Samuel M. Smith
. 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 801-768-2769 fax