Brett Cannon <br...@python.org> added the comment:

We didn't do a singleton because I don't like singletons. =) Plus they muck 
with isinstance/issubclass if you don't expose the class. Basically there is no 
need to have it be a singleton, so why bother?

And Rafe is right: since utcnow() already exists, why not take advantage of the 
method? Yes, you could manually call now() with a UTC object, but people are 
going to notice the utcnow() method and want to use it, so we should make it 
easy to use the new UTC object on utcnow(). Plus it has the added benefit of 
providing a transition plan to make utcnow() always return a timezone-aware 
datetime object.

----------

_______________________________________
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