[issue9000] Provide parseable repr to datetime.timezone

2010-07-10 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: accepted -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue9000] Provide parseable repr to datetime.timezone

2010-07-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Committed in r82617. Python version committed to sandbox in r82616. -- stage: commit review -> committed/rejected status: open -> closed ___ Python tracker _

[issue9000] Provide parseable repr to datetime.timezone

2010-07-06 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : Removed file: http://bugs.python.org/file17887/issue9000.diff ___ Python tracker ___ ___ Python-bugs-list mai

[issue9000] Provide parseable repr to datetime.timezone

2010-07-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Replacing the patch. The previously attached patch reverted issue9051 a bit too aggressively. -- Added file: http://bugs.python.org/file17888/issue9000.diff ___ Python tracker

[issue9000] Provide parseable repr to datetime.timezone

2010-07-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Attaching a C patch. -- resolution: -> accepted stage: unit test needed -> commit review Added file: http://bugs.python.org/file17887/issue9000.diff ___ Python tracker _

[issue9000] Provide parseable repr to datetime.timezone

2010-07-06 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I am attaching a python prototype. I am following the convention in place for the other datetime classes of prepending the repr with 'datetime.'. This may not be ideal, but better than to introduce an inconsistency. The only question I think is worth

[issue9000] Provide parseable repr to datetime.timezone

2010-06-15 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue9000] Provide parseable repr to datetime.timezone

2010-06-15 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Merged issue5094 nosy list. -- nosy: +ajaksu2, akira, brett.cannon, doerwalter, durban, ezio.melotti, gagenellina, kawai, l0nwlf, mark.dickinson, merwok, pitrou, r.david.murray, rafe, techtonik, tim_one ___ P

[issue9000] Provide parseable repr to datetime.timezone

2010-06-15 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- dependencies: +datetime lacks concrete tzinfo implementation for UTC versions: +Python 3.2 ___ Python tracker ___

[issue9000] Provide parseable repr to datetime.timezone

2010-06-15 Thread Alexander Belopolsky
New submission from Alexander Belopolsky : Recently added datetime.timezone class does not have a custom repr, so one gets >>> timezone.utc instead of parseable datetime.timezone(datetime.timedelta(0)) This is inconsistent with the way other classes in datetime module behave. -- ass