On Jun 04, 2012, at 01:19 PM, Dirkjan Ochtman wrote: >I recently opened issue14908. At work, I have to do a bunch of things >with dates, times and timezones, and sometimes Unix timestamps are >also involved (largely for easy compatibility with legacy APIs). I >find the relative obscurity when converting datetimes to timestamps >rather painful; IMO it should be possible to do everything I need >straight from the datetime module objects, instead of having to >involve the time or calendar modules.
I completely agree. I've long considered this a wart in the stdlib, but never got off my butt to do anything about it. Thanks for filing this Dirkjan. JFDI-ly y'rs, -Barry _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com