Re: Arrrrgh! Another module broken

2010-01-17 Thread Jive Dadson
Matt Newville wrote: On Jan 17, 7:25 pm, Jive Dadson wrote: I just found another module that broke when I went to 2.6. > Gnuplot. Apparently one of its routines has a parameter named "with." That used to be okay, and now it's not. This was fixed in version 1.8 of Gnuplot.py Once I get ev

Re: Arrrrgh! Another module broken

2010-01-17 Thread Chris Rebert
On Sun, Jan 17, 2010 at 9:44 PM, Jive Dadson wrote: > Matt Newville wrote: >> >> On Jan 17, 7:25 pm, Jive Dadson wrote: >>> >>> I just found another module that broke when I went to 2.6. > Gnuplot. >>>  Apparently one of its routines has a parameter >>> named "with."  That used to be okay, and no

Re: Arrrrgh! Another module broken

2010-01-17 Thread r0g
Jive Dadson wrote: > Matt Newville wrote: >> On Jan 17, 7:25 pm, Jive Dadson wrote: >>> I just found another module that broke when I went to 2.6. > >>> Gnuplot. Apparently one of its routines has a parameter >>> named "with." That used to be okay, and now it's not. >> >> This was fixed in versi

Re: pyserial: Unexpected Local Echo

2010-01-17 Thread Steve Holden
Steven Woody wrote: > 2010/1/16 John Nagle : >> Grant Edwards wrote: >>> On 2010-01-11, Steven Woody wrote: >>> I am using pyserial. But I always get the local echo after I write some characters onto serial port >>> I really doubt you're getting a local echo. Is the data coming >>> out

Re: The answer

2010-01-17 Thread Lie Ryan
On 01/18/10 13:30, Jive Dadson wrote: > Okay, with your help I've figured it out. Instructions are below, but > read the caveat by Ben Fenny in this thread. All this stuff is good for > one default version of Python only. The PYTHONPATH described below, for > example, cannot specify a version nu

Re: setattr() oddness

2010-01-17 Thread Dieter Maurer
Lie Ryan writes on Sat, 16 Jan 2010 19:37:29 +1100: > On 01/16/10 10:10, Sean DiZazzo wrote: > > Interesting. I can understand the "would take time" argument, but I > > don't see any legitimate use case for an attribute only accessible via > > getattr(). Well, at least not a pythonic use case. >

Re: Problems with collision response

2010-01-17 Thread John Nagle
Joabos wrote: I'm doing a project, and I need to insert collision detection and response on it. Here's the code. What am I doing wrong? Where to begin... 1. Most of your code will never be executed because it is inside multiline triple-quoted strings. 2. Your approach to

Re: setattr() oddness

2010-01-17 Thread Steven D'Aprano
On Mon, 18 Jan 2010 07:25:58 +0100, Dieter Maurer wrote: > Lie Ryan writes on Sat, 16 Jan 2010 19:37:29 +1100: >> On 01/16/10 10:10, Sean DiZazzo wrote: >> > Interesting. I can understand the "would take time" argument, but I >> > don't see any legitimate use case for an attribute only accessibl

More version woes

2010-01-17 Thread Jive Dadson
This has to do with Komodo. I cannot use Python 2.4, because numpy is broken on my machine for that release for reasons unknown. I want to use 2.6 anyway. But when I use Python 2.6 and Komodo 3.5, it runs slow as death. I think it might have something to do with the warning I'm getting. Do

Re: Arrrrgh! Another module broken

2010-01-17 Thread Jive Dadson
Jive Dadson wrote: Matt Newville wrote: On Jan 17, 7:25 pm, Jive Dadson wrote: I just found another module that broke when I went to 2.6. > Gnuplot. Apparently one of its routines has a parameter named "with." That used to be okay, and now it's not. This was fixed in version 1.8 of Gnuplo

Re: More version woes

2010-01-17 Thread Jive Dadson
Sorry. That deprecation warning has nothing to do with the slowness. It does torque my jaw, however. Komodo costs money, and Python 2.6 broke it. @#^&!!! (Again.) So, the new question is, does anyone know how to make Komodo 3.5 run at speed with Python 2.6? Or perhaps better yet, can someon

Re: enhancing 'list'

2010-01-17 Thread Terry Reedy
On 1/17/2010 5:37 PM, samwyse wrote: Consider this a wish list. I know I'm unlikely to get any of these in time for for my birthday, but still I felt the need to toss it out and see what happens. Lately, I've slinging around a lot of lists, and there are some simple things I'd like to do that j

<    1   2