open vs. open

Erik Max Francis max at alcyone.com
Thu Nov 1 16:35:46 EST 2001


Armin Steinhoff wrote:

> I'm surely not the first one who was trapping into the
> '__builtin__.open vs. os.open' problem.

That what module names are for.

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

It would break all existing code which uses it.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ Laws are silent in time of war.
\__/ Cicero
    Esperanto reference / http://www.alcyone.com/max/lang/esperanto/
 An Esperanto reference for English speakers.



More information about the Python-list mailing list