Hacker News new | ask | show | jobs
by haldean 2924 days 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.
1 comments

In 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%2AT...