[issue6280] calendar.timegm() belongs in time module, next to time.gmtime()

oric report at bugs.python.org
Tue Jun 19 09:50:33 EDT 2018


oric <python1 at scigrid.net> added the comment:

Please don't name it timegm which is such a stupid name (why not mgemit!).

I knows it comes from history but history had timelocal which has been replaced by mktime (and python has mktime and not timelocal) so please, call it mkgmtime

time.mkgmtime()

I think it would make things more clear.

----------
nosy: +oric

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue6280>
_______________________________________


More information about the Python-bugs-list mailing list