Message128765
> 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:48 | vstinner | set | recipients:
+ vstinner, jjlee, belopolsky, hollec |
2011-02-17 22:26:47 | vstinner | set | messageid: <1297981607.99.0.00126515491545.issue5537@psf.upfronthosting.co.za> |
2011-02-17 22:26:46 | vstinner | link | issue5537 messages |
2011-02-17 22:26:46 | vstinner | create | |
|