Re: Re: Python is slow

2008-12-10 Thread acerimusdux
cm_gui wrote: You guys are living in denial. Python is SLOW, especially for web apps. Instead of getting mad, why don't get together and come up with a faster VM/interpreter? The emperor doesn't like to be told he is not wearing any clothes? O The one in denial is the one without any eviden

Beginner trying to understand functions.

2008-12-08 Thread acerimusdux
simonh write: In my attempt to learn Python I'm writing a small (useless) program to help me understand the various concepts. I'm going to add to this as I learn to serve as a single place to see how something works, hopefully. Here is the first approach: name = input('Please enter your name:

Re: Re: Rich Comparisons Gotcha

2008-12-07 Thread acerimusdux
James Stroud wrote: Rasmus Fogh wrote: Current behaviour is both inconsistent and counterintuitive, as these examples show. x = float('NaN') x == x False Perhaps this should raise an exception? I think the problem is not with comparisons in general but with the fact that nan is type float:

Re: Re: Guido's new method definition idea

2008-12-06 Thread acerimusdux
Russ P. wrote: Python already uses shorthand extensively. How about "def"? For people who are so worried about self-explanatory symbols, what the heck does that stand for? Default? Defeat? Defect? Defunct? Defer? I think the difference here is that those other abbreviations are mostly fa