Re:Carp, a compiled Lisp with type inference and a borrow ch...
by mwatts15 on Sunday November 26, 2017 @12:03PM
(#15781774)
As a Python programmer, I would consider code which shadows the names of built-ins to be poorly written although it's permissible in small scopes (e.g., a single block).
OTOH, for extending / wrapping there is a builtins module, which I think is what you suggest: https://docs.python.org/3/library/builtins.html#module-built...
Python 2 didn't have a stdlib namespace, or "package" in Python speak. But when they created their clean-slate approach with Python 3, they also decided not to introduce a stdlib package. External Python packages just avoid the stdlib package names, and everything seems fine.
So, is there something in the Python language that makes the missing?
Or is it just the Python community which doesn't care about (or plays down) this issue?