New submission from Kevin Duffy <[email protected]>: There are a few places in datetime.py where the 'is' operator is used but it should really be '=='. This can cause comparisons to fail even when two tzinfo's are equivalent.
Simple patch attached. ---------- files: pypy-datetime.patch messages: 6424 nosy: kmdext, pypy-issue priority: bug release: 2.2 status: unread title: 'is' should be '==' in datetime.py ________________________________________ PyPy bug tracker <[email protected]> <https://bugs.pypy.org/issue1662> ________________________________________ _______________________________________________ pypy-issue mailing list [email protected] https://mail.python.org/mailman/listinfo/pypy-issue
