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
Changes by Robert Tasarz :
--
type: -> behavior
___
Python tracker
<http://bugs.python.org/issue17702>
___
___
Python-bugs-list mailing list
Unsubscri
New submission from Robert Tasarz:
Minimal example:
>>> import os
>>> somekey = 'random'
>>> try:
... os.environ[somekey]
... except KeyError as e:
... print(repr(e))
... somekey == e.args[0]
...
KeyError(b'random',)
False
Tested i