open vs. open

Armin Steinhoff Armin_member at newsguy.com
Wed Nov 7 14:33:44 EST 2001


In article <mailman.1004711103.22365.python-list at python.org>, Kirill says...
>
>On Thu, Nov 01, 2001 at 01:14:23PM -0800, Armin Steinhoff wrote:
>> Hi all,
>> 
>> I'm surely not the first one who was trapping into the 
>> '__builtin__.open vs. os.open' problem.
>> 
>> 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 ??
>
>$ python2.2
>Python 2.2b1 (#1, Oct 21 2001, 19:50:56) 
>>>> __builtins__.file is __builtins__.open

Many thanks! Good to know ...

Armin

>1
>
>
>\Xi
>
>




More information about the Python-list mailing list