Re: libpython2.3.a Linux

2005-05-22 Thread Artie Gold
) for the correct way to use options in g++. Running on Fedora Core 3 - 1.7.0 made the following steps in compiling and installing Python : ./configure make make install make libpython2.3.so Compiling on windows 2k is fine. Thanks for any input. David HTH, --ag -- Artie Gold

Re: Problem with unpack hex to decimal

2005-04-17 Thread Artie Gold
followed by a signed char would be: hhb (as `char' and its siblings have no alignment requirements) HTH, --ag -- Artie Gold -- Austin, Texas http://it-matters.blogspot.com (new post 12/5) http://www.cafepress.com/goldsays -- http://mail.python.org/mailman/listinfo/python-list

Re: Simple thread-safe counter?

2005-04-02 Thread Artie Gold
Leif K-Brooks wrote: Artie Gold wrote: Skip Montanaro wrote: counter = Queue.Queue() def f(): i = counter.get() I think you need: i = counter.get(True) The default value for the block argument to Queue.get is True. Right. I misparsed the entry in the documentation

Re: Lambda: the Ultimate Design Flaw

2005-04-02 Thread Artie Gold
. But, despite of the PR value of anything with Guy Steele's name associated with it, we think these features should be cut from PLT Scheme v300. [...] The whole text seems to be a variant of http://www.artima.com/weblogs/viewpost.jsp?thread=98196. Tsch, Torsten. Ya think? ;-) --ag -- Artie Gold

Re: Simple thread-safe counter?

2005-04-01 Thread Artie Gold
) return i [snip] This is, of course dependent upon counter.get() being guaranteed to be thread safe. (I haven't found anything in the docs specifically relating to that. Perhaps it's implicit?) Thanks, --ag -- Artie Gold -- Austin, Texas http://it-matters.blogspot.com (new post 12/5) http

Re: Bug?

2005-03-13 Thread Artie Gold
the digits `0' through `7' are valid. HTH, --ag -- Artie Gold -- Austin, Texas http://it-matters.blogspot.com (new post 12/5) http://www.cafepress.com/goldsays -- http://mail.python.org/mailman/listinfo/python-list

Re: Turning String into Numerical Equation

2005-03-12 Thread Artie Gold
of the different mathematical rules. Does anyone have a better idea than parsing to compute an equation from a string representation? Thanks so much! Brian Kazian eval() See: http://docs.python.org/lib/built-in-funcs.html#l2h-23 HTH, --ag -- Artie Gold -- Austin, Texas http

Re: Turning String into Numerical Equation

2005-03-12 Thread Artie Gold
':2}) [No, you wouldn't want to write it that way; it's merely illustrating what you can do without doing much.] HTH, --ag [BTW -- cultural question: Do we top-post here?] Artie Gold [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Brian Kazian wrote: Here's my problem, and hopefully