• Tim Peters's avatar
    Added tests to ensure that timetz comparison, and datetimetz · 4c0db788
    Tim Peters yazdı
    subtraction, work as documented.  In the Python implementation,
    they weren't calling utcoffset() if both operands had the same
    tzinfo object.  That's fine if it so happens that the shared
    tzinfo object returns a fixed offset (independent of operand),
    but can give wrong results if that's not so, and the latter
    obtains in a tzinfo subclass instance trying to model both
    standard and daylight times.  The C implementation was already
    doing this "correctly", so we're just adding tests to verify it.
    4c0db788
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...