D'Arcy J.M. Cain wrote:

Is there ever any advantage to having something as a builtin rather
than as a regular user method?  What difference does it make to the
running script?  I can see that adding "bar" from module "foo" to
"__builtins__" means that you can use "bar()" instead of "foo.bar()".
Is that the only benefit?

basically, yes. in this case, it does make some sense to patch any/all into __builtin__, since they are builtins in a later version.

</F>

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to