Author vstinner
Recipients belopolsky, hollec, jjlee, vstinner
Date 2011-02-17.22:26:46
SpamBayes Score 4.35403e-11
Marked as misclassified No
Message-id <>
> Shouldn't module time be changed to use a cross-platform implementation
> that uses a 64 bit time_t-like type? Apparently Perl 6 has made the
> equivalent change.

The error occurs on time.gmtime(t): even if we use 64 bits time_t type, we have to downcast it to system time_t later, because we would like to call gmtime() function at the end.

To workaround gmtime() limitation: we can simply use datetime instead. Attached patch replaces gmtime() by datetime.utcfromtimestamp(), and use its .strftime() method which has no such limitation.
Date User Action Args
2011-02-17 22:26:48vstinnersetrecipients: + vstinner, jjlee, belopolsky, hollec
2011-02-17 22:26:47vstinnersetmessageid: <>
2011-02-17 22:26:46vstinnerlinkissue5537 messages
2011-02-17 22:26:46vstinnercreate