This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients georg.brandl, loewis, luckmor
Date 2008-12-30.13:13:30
SpamBayes Score 2.1615514e-09
Marked as misclassified No
Message-id <495A1E77.6010108@v.loewis.de>
In-reply-to <1230639719.65.0.526237015883.issue4775@psf.upfronthosting.co.za>
Content
> It was the fact that (at least under Mac OS X) the numeric
> representation assumes a 86400 second day that led me to
> believe that non-SI seconds and hence a non-UTC version of Universal
> Time, such as UT1 was being used.

AFAICT, Mac OSX also uses Unix time...

Why do you think UT1 plays any role here? Computers *have* to use
SI seconds, since they are not physically equipped to measure
anything else (unless you want to get even more nit-picking and point
out that the quartz in the computer is not capable of measuring
SI seconds exactly).

> (5) the numeric representation of time is platform-dependent 

This is the case.

> and any one of the above may hold. 

This is not consequential. As it is platform dependent, it might do
any of the above, plus an infinite number of additional alternatives
(including bugs and whatnot).

I propose to add this sentence to the explanation of the epoch:

"It is platform-dependent whether or not 'seconds since the epoch'
includes leap seconds. Most systems likely implement `Unix time`_"

_ http://en.wikipedia.org/wiki/Unix_time

> The same documentation issue crops up in 
> <http://docs.python.org/library/datetime.html> and indirectly 
> (calendar.timegm) in <http://docs.python.org/library/calendar.html>

Please, one issue at a time. I believe that this doesn't crop up,
or if it does, it's a different issue. If you want to pursue this,
please create a separate report, and preferably include a proposed
wording.
History
Date User Action Args
2008-12-30 13:13:32loewissetrecipients: + loewis, georg.brandl, luckmor
2008-12-30 13:13:31loewislinkissue4775 messages
2008-12-30 13:13:30loewiscreate