New submission from Alexander Belopolsky: The time module defines timezone, altzone, tzname and daylight constants that store information about system timezone. This information is derived from the timezone rules that are in effect at the module loading time, but may be incorrect for the times in the past. The documentation should warn the user about this and recommend using the tm_zone and tm_gmtoff attributes in the result of time.localtime() to obtain timezone information. See #22799 and msg148208.
---------- assignee: belopolsky components: Documentation messages: 276478 nosy: belopolsky priority: normal severity: normal stage: needs patch status: open title: Document time module constants (timezone, tzname, etc.) as deprecated. versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28157> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com