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 2018-06-08 23:26 by belopolsky. 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
2018-06-08 23:26:57belopolskysetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2018-06-08 23:22:35belopolskysetmessages: + msg319117
2018-06-08 22:45:29belopolskysetkeywords: + patch
stage: needs patch -> patch review
pull_requests: + pull_request7182
2018-06-08 21:58:44belopolskysetcomponents: - Extension Modules
2018-06-08 21:53:38belopolskycreate