[New-bugs-announce] [issue15941] Time module: effect of time.timezone change

Terry J. Reedy report at bugs.python.org
Thu Sep 13 20:07:21 CEST 2012


New submission from Terry J. Reedy:

"time.timezone 
The offset of the local (non-DST) timezone, in seconds west of UTC (negative in most of Western Europe, positive in the US, zero in the UK)."

Quite aside from #9305 (UTC is not a place), this does not specify the effect of setting this attribute. It does not change the output of localtime, asctime, or ctime (on Windows). Does is affect anything else? strftime? If setting it has no effect, the doc should say so. (And then perhaps it should be made read-only in the future, as setting it expecting an effect would be a bug.)

----------
assignee: docs at python
components: Documentation
messages: 170450
nosy: belopolsky, docs at python, haypo, terry.reedy
priority: normal
severity: normal
stage: needs patch
status: open
title: Time module: effect of time.timezone change
versions: Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15941>
_______________________________________


More information about the New-bugs-announce mailing list