open vs. open

Skip Montanaro skip at pobox.com
Thu Nov 1 16:25:46 EST 2001


    Armin> Question: is it possible to rename the __builtin__.open call to 
    Armin> __builtin__.fopen because it does really a fopen library call??

    Armin> Or does it break something ??

Any code that calls open(fname) would no longer work.  You'd have to replace
it with something else.

-- 
Skip Montanaro (skip at pobox.com)
http://www.mojam.com/
http://www.musi-cal.com/




More information about the Python-list mailing list