Re: Is PyFIT dead and abandoned?

2008-10-06 Thread Pekka Laukkanen
2008/10/6 <[EMAIL PROTECTED]>: > I was wanting to experiment with PyFIT but it seems DOA. Googling > doesn't yield any information less than two years old. When I try to > install 0.8a2 I get errors because setup.py references a non-existant > file (FitFilter.py). I find it hard to believe that in

Re: Python 2.6 / 3.0: Determining if a method is inherited

2008-10-06 Thread Pekka Laukkanen
2008/10/7 Pekka Laukkanen <[EMAIL PROTECTED]>: > 2008/10/5 Fuzzyman <[EMAIL PROTECTED]>: >> I may well be being dumb (it has happened before), but I'm struggling >> to fix some code breakage with Python 2.6. >> >> I have some code that looks for the 

Re: Python 2.6 / 3.0: Determining if a method is inherited

2008-10-06 Thread Pekka Laukkanen
2008/10/5 Fuzzyman <[EMAIL PROTECTED]>: > I may well be being dumb (it has happened before), but I'm struggling > to fix some code breakage with Python 2.6. > > I have some code that looks for the '__lt__' method on a class: > > if hasattr(clr, '__lt__'): > > However - in Python 2.6 object has grow

Re: list to tuple conversion

2008-10-01 Thread Pekka Laukkanen
2008/10/1 sc <[EMAIL PROTECTED]>: > If there were a builtin function that took a list and > returned a tuple, I'd be there, but if there is such a > thing I need someone to point me at it. I can't help > thinking I am missing some obvious construct, and I'll > be advised to go reread the tutorial,

A bit weird dictionary behavior

2008-09-22 Thread Pekka Laukkanen
Hello, just noticed this: Python 2.5.1 (r251:54863, Jan 17 2008, 19:35:17) [GCC 4.0.1 (Apple Inc. build 5465)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> {1: 2} {1: 2} >>> {True: False} {True: False} >>> {1: 2, True: False} {1: False} This must be becaus