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

I am attaching a new patch, issue5094e.diff which addresses most of Mark's 
comments.  I left out repr() because two opinions were voiced on IRC with 
respect to datetime. prefix.  I would like to give it some more thought even 
though I am leaning towards compatibility with existing reprs.

I did not make td argument optional and did not allow timezone o be subclassed 
because these seem to be mutually exclusive options.  (If td is optional in 
base class, it must be optional in subclasses per Liskov's principle severely 
limiting utility of subclasses.)  Let's address this separately.

----------
Added file: http://bugs.python.org/file17631/issue5094e.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