New submission from Alexander Belopolsky <alexander.belopol...@gmail.com>:
Since implementation of issue 25283, the objects returned by time.localtime always have tm_zone and tm_gmtoff attributes, but the datetime module still has code that anticipates these attributes to be missing. [1] [1]: https://github.com/python/cpython/blob/1cbdb2208aa309cf288ee0b53f0ecd85279bb934/Lib/datetime.py#L1763 ---------- assignee: belopolsky components: Extension Modules, Library (Lib) messages: 319110 nosy: belopolsky priority: normal severity: normal stage: needs patch status: open title: Remove unused code in datetime module type: resource usage versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33810> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com