2.2 open

Robin Becker robin at jessikat.fsnet.co.uk
Sun Mar 24 18:23:14 EST 2002


In article <just-A83F08.18481924032002 at news1.xs4all.nl>, Just van Rossum
<just at xs4all.nl> writes
.....
>(Also note that open is now an alias for the new "file" builtin, which 
>considering how things now work is the more logical name. The builtin 
>functions int, float and str (among others) are olso type objects these 
>days.)
>
>Just
yes, but presumably abs is not the same as type(abs(1.2)) so this only
applies to certain factories rather than all functions.


So the question now is, how do I tell if __import__ is the built in one
even if the import system is not fully initialized.
-- 
Robin Becker



More information about the Python-list mailing list