Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

issue5094g.diff addresses all Mark's suggestions except making struct 
definition public.  I also made a few other changes:

1. Constructor now raises TypeError when offset is not a timedelta instead of 
ValueError in previous version.

2. NEWS entry no longer says that argument is ignored by tzinfo methods 
implemented in timezone.  (Since these methods now check the type of the 
argument, it would be misleading to say that arg is ignored.)

3. Added some more tests for error cases.

4. Added ACK for Rafe Kaplan as the author of the original patch.

----------
Added file: http://bugs.python.org/file17657/issue5094g.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5094>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to