Francisco Martín Brugué added the comment: Hi, sorry if it's trivial but shouldn't we add a 'shifted_true' test some were to make sure that this behavior change gets noticed next time?
def test_shifted_true(self): self.assertEqual(True << 0, 1) self.assertEqual(True << 1, 2) ---------- nosy: +francismb _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21422> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com