Hacker News new | ask | show | jobs
by fyi1183 2921 days ago
That's a nice story, but True and False are keywords in python. Such assignment attempts are a syntax error.
1 comments

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.
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...