Armin Rigo <arigo at tunes.org> writes: > Hello, > > A minor semantic change that creeped in some time ago was an implicit > assumption that any object x should "reasonably" be expected to compare equal > to itself. The arguments are summarized below (should this be documented, > inserted in NEWS, turned in a mini-PEP a posteriori ... ?). I have to admit that I haven't done my research, but I think you have your history backwards: the recent change AIUI is that it's possible that 'x == x' might be something *other* than Py_True... Cheers, mwh -- The ability to quote is a serviceable substitute for wit. -- W. Somerset Maugham
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4