[issue8903] Add module level now() and today() functions to datetime module

Alexander Belopolsky report at bugs.python.org
Tue Jun 8 20:07:57 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

Note that it is important to keep class methods because in some cases it is convenient to obtain now/today from datetime/date instances instead of importing them from the module.  So deprecating class methods is not an option and adding module level functions that are equivalent to existing class methods is not TOOWTDI.

----------
resolution:  -> rejected
status: open -> pending
title: datetime functions -> Add module level now() and today() functions to datetime module
type:  -> feature request

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8903>
_______________________________________


More information about the Python-bugs-list mailing list