]> granicus.if.org Git - python/commit
Make comparison and subtraction of aware objects ignore tzinfo if the
authorTim Peters <tim.peters@gmail.com>
Fri, 27 Dec 2002 00:41:11 +0000 (00:41 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 27 Dec 2002 00:41:11 +0000 (00:41 +0000)
commit60c76e4016f32617913fbdeae0c867c40634eac1
treeedaa70d766610a15e2c10f609ab67e3fa92bbaab
parentf044e090c4c8aeed0480fc56fec01e651d811680
Make comparison and subtraction of aware objects ignore tzinfo if the
operands have identical tzinfo members (meaning object identity -- "is").
I misunderstood the intent here, reading wrong conclusion into
conflicting clues.
Doc/lib/libdatetime.tex
Lib/test/test_datetime.py
Modules/datetimemodule.c