[issue33810] Remove unused code in datetime module

2018-06-08 Thread Alexander Belopolsky


Change by Alexander Belopolsky :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33810] Remove unused code in datetime module

2018-06-08 Thread Alexander Belopolsky


Alexander Belopolsky  added the comment:


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


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33810] Remove unused code in datetime module

2018-06-08 Thread Alexander Belopolsky


Change by Alexander Belopolsky :


--
keywords: +patch
pull_requests: +7182
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33810] Remove unused code in datetime module

2018-06-08 Thread Alexander Belopolsky


Change by Alexander Belopolsky :


--
components:  -Extension Modules

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue33810] Remove unused code in datetime module

2018-06-08 Thread Alexander Belopolsky


New submission from Alexander Belopolsky :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com