Why does __builtins__ mean different things...

James Stroud jstroud at mbi.ucla.edu
Fri Dec 21 04:59:57 EST 2007


Erik Max Francis wrote:
> James Stroud wrote:
> 
>> Thank you for your help. I will import the __builtin__ module as you 
>> have suggested--it is what I need.
>>
>> But....what the heck? You mean if I drop an s I get predictable 
>> behavior and if I don't, I get unpredictable behavior?
> 
> You don't get unpredictable behavior, you just get different behavior 
> you didn't expect, which is not the same thing.  Python is a programming 
> language, like any other; randomly dropping letters in names is going to 
> result in bad behavior, so be more careful about it.

Are you responding to some other thread? Its like you read every other 
word and then filled in the rest randomly...


-- 
James Stroud
UCLA-DOE Institute for Genomics and Proteomics
Box 951570
Los Angeles, CA 90095

http://www.jamesstroud.com



More information about the Python-list mailing list