Issue 33810: Remove unused code in datetime module (original) (raw)

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/77991

classification

Title: Remove unused code in datetime module
Type: resource usage Stage: resolved
Components: Library (Lib) Versions: Python 3.8

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: belopolsky Nosy List: belopolsky
Priority: normal Keywords: patch

Created on 2018-06-08 21:53 by belopolsky, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 7549 merged belopolsky,2018-06-08 22:45
Messages (2)
msg319110 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2018-06-08 21:53
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
msg319117 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2018-06-08 23:22
New changeset bcb032e4acdebc043a7659a06e6037fe71020860 by Alexander Belopolsky in branch 'master': bpo-33810 Remove unused code from datetime.py. (GH-7549) https://github.com/python/cpython/commit/bcb032e4acdebc043a7659a06e6037fe71020860
History
Date User Action Args
2022-04-11 14:59:01 admin set github: 77991
2018-06-08 23:26:57 belopolsky set status: open -> closedresolution: fixedstage: patch review -> resolved
2018-06-08 23:22:35 belopolsky set messages: +
2018-06-08 22:45:29 belopolsky set keywords: + patchstage: needs patch -> patch reviewpull_requests: + <pull%5Frequest7182>
2018-06-08 21:58:44 belopolsky set components: - Extension Modules
2018-06-08 21:53:38 belopolsky create