python reduce constants at run or compile?

nemir nemir.remove at hotmail.spamenot.com
Wed Sep 6 23:30:55 EDT 2000


pete at visionart.com (Pete Shinners) wrote in <8p6pmg$ljc$1 at la-
mail4.digilink.net>:


<snip code and other stuff>

>am i correct in believing that even if python doesn't
>reduce this down at compile time, it 'potentially could'?
>(doublechecking my understanding of tuples)

what is a tuple here?  Something that is constant, I am guessing...  ;)

>if the compiler isn't taking care of these, should it?
>what are the major complexities keeping it from this?
>(i'll likely understand, but have tiny knowledge of
>python specific internals)

I thought Python wasn't compiled. Am I getting myself all mixed up?

Nemir



More information about the Python-list mailing list