Op 10-05-15 om 19:28 schreef Gary Herron:

> Common Python thought::  "We're all adults here."    If you want to 
> override a builtin within your own namespace, who are we to stop you?
> Besides, it's still available as __builtins__.int  (unless you've also 
> overridden that).

This is a common python myth. That is selectively used when convenient and
ignored when that is convenient.

Try overriding None, True or False in python3 and see what happens.

-- 
Antoon Pardon

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

Reply via email to