]> granicus.if.org Git - python/commit
datetimetz_astimezone(): Speed optimizations -- although I'd rather
authorTim Peters <tim.peters@gmail.com>
Wed, 1 Jan 2003 04:48:01 +0000 (04:48 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 1 Jan 2003 04:48:01 +0000 (04:48 +0000)
commitb5a16f33758bb3d98bed0782c7b61c754ea494f6
tree890c0e7e72b8537fdfae865b86ae1a5e70300881
parent36087edc05b6ccb4a4850ac579ad721d1a72ffdd
datetimetz_astimezone():  Speed optimizations -- although I'd rather
find a more elegant algorithm (OTOH, the hairy new implementation allows
user-written tzinfo classes to be elegant, so it's a big win even if
astimezone() remains hairy).

Darn!  I've only got 10 minutes left to get falling-down drunk!  I suppose
I'll have to smoke crack instead now.
Modules/datetimemodule.c