New submission from Alexander Belopolsky <[email protected]>:

Recently added datetime.timezone class does not have a custom repr, so one gets

>>> timezone.utc
<datetime.timezone object at 0x100681ef0>

instead of parseable

datetime.timezone(datetime.timedelta(0))

This is inconsistent with the way other classes in datetime module behave.

----------
assignee: belopolsky
keywords: easy
messages: 107876
nosy: belopolsky
priority: normal
severity: normal
stage: unit test needed
status: open
title: Provide parseable repr to datetime.timezone
type: feature request

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue9000>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to