[issue30699] Misleading class names in datetime.tzinfo usage examples

2019-06-04 Thread STINNER Victor
STINNER Victor added the comment: Thanks Mario Corchero for the doc enhancement, and Paul for the review! Python 2.7 is not affected: datetime has no timeinfo class. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 -Pyth

[issue30699] Misleading class names in datetime.tzinfo usage examples

2019-06-04 Thread miss-islington
miss-islington added the comment: New changeset 12c178799a23b47c5f8ebc072cbdf09a370649ae by Miss Islington (bot) in branch '3.7': bpo-30699: Improve example on datetime tzinfo instances (GH-4290) https://github.com/python/cpython/commit/12c178799a23b47c5f8ebc072cbdf09a370649ae -- no

[issue30699] Misleading class names in datetime.tzinfo usage examples

2019-06-04 Thread STINNER Victor
STINNER Victor added the comment: New changeset f0b5ae4567637b24035ecda93a3240efc96b6dd9 by Victor Stinner (Mario Corchero) in branch 'master': bpo-30699: Improve example on datetime tzinfo instances (GH-4290) https://github.com/python/cpython/commit/f0b5ae4567637b24035ecda93a3240efc96b6dd9

[issue30699] Misleading class names in datetime.tzinfo usage examples

2019-06-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +13697 pull_request: https://github.com/python/cpython/pull/13811 ___ Python tracker ___ __

[issue30699] Misleading class names in datetime.tzinfo usage examples

2017-11-06 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue30699] Misleading class names in datetime.tzinfo usage examples

2017-11-05 Thread Mario Corchero
Change by Mario Corchero : -- nosy: +mariocj89 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue30699] Misleading class names in datetime.tzinfo usage examples

2017-11-05 Thread Mario Corchero
Change by Mario Corchero : -- keywords: +patch pull_requests: +4253 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue30699] Misleading class names in datetime.tzinfo usage examples

2017-06-18 Thread Robert Tasarz
New submission from Robert Tasarz: https://docs.python.org/3/library/datetime.html#datetime-objects gives in an example two classes named GMT1 and GMT2 subclassing tzinfo, defined with dst(…) methods returning one hour timedelta for summer periods. This is in conflict with naming, as GMT timezo