3 ms·
This was not true in Python 2, and redefining True to False used to be a jokey way to break the interpreter in a bunch of fun ways.
by haldean 8y ago
This was not true in Python 2, and redefining True to False used to be a jokey way to break the interpreter in a bunch of fun ways.
- jwilk 8y agoIn fact, there's still lots of code in the wild that assigns to True/False, presumably for compatibility with very old Python versions: https://codesearch.debian.net/search?q=%28%3Fm%29%5E%5Cs%2ATrue%5Cs%2A%3D+filetype%3Apython https://codesearch.debian.net/search?q=%28%3Fm%29%5E%5Cs%2AT...