On Tue, May 12, 2015 at 9:34 AM, zipher <dreamingforw...@gmail.com> wrote: >> * when it comes to built-in functions (e.g. sum, map, pow) >> and types (e.g. int, str, list) there are significant and >> important use-cases for allowing shadowing; > > Name one "significant and important" use case for shadowing built-in types. > Functions, I don't have a problem with, but types are more fundamental than > functions.
try: str = unicode # Use the Python 3 name. except NameError: pass -- https://mail.python.org/mailman/listinfo/python-list