News for hackers. Stuff that matters.
Re:Clear is better than clever [pdf] by __s on Monday May 06, 2019 @07:13PM (#19844884)
Official docs: https://docs.python.org/3.0/whatsnew/3.0.html#ordering-compa...

> If you really need the cmp() functionality, you could use the expression (a > b) - (a < b) as the equivalent for cmp(a, b)

Re:Clear is better than clever [pdf] by sametmax on Tuesday May 07, 2019 @05:41AM (#19847863)
αν