paul j3 <ajipa...@gmail.com> added the comment:
The use of `bool` as registry key only works because that object already exists as a builtin. This amounts a form of shadowing, and sets a dangerous precedent. type=bool should work as documented at https://docs.python.org/3/library/functions.html?highlight=bool#bool even if that is not what a casual user would expect. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37564> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com