Index: Modules/datetimemodule.c =================================================================== --- Modules/datetimemodule.c (revision 82577) +++ Modules/datetimemodule.c (working copy) @@ -238,16 +238,10 @@ int y = year - 1; /* This is incorrect if year <= 0; we really want the floor * here. But so long as MINYEAR is 1, the smallest year this - * can see is 0 (this can happen in some normalization endcases), - * so we'll just special-case that. + * can see is 1. */ - assert (year >= 0); - if (y >= 0) - return y*365 + y/4 - y/100 + y/400; - else { - assert(y == -1); - return -366; - } + assert (year >= 1); + return y*365 + y/4 - y/100 + y/400; } /* Number of days in 4, 100, and 400 year cycles. That these have