[Python-Dev] dateutil
Gustavo Niemeyer
niemeyer at conectiva.com
Thu Mar 11 09:33:39 EST 2004
> In this context, PEP 321 and the discussion about it are relevant:
>
> http://www.python.org/peps/pep-0321.html
> http://groups.google.nl/groups?threadm=ad6u7j09.fsf%40yahoo.co.uk
Indeed. I've followed it at the time it happened. Do you see
anything which should be considered before including dateutil in
the standard library?
> I am in favour of including something like DatuUtil in the standard
> library. I need it often enough, e.g., to find out out when two weeks after
> 24 Feb is is easier with DateUtil than with datetime, and I think
> datetime lacks a strptime. IMO it should be possible to do all date/time
> arithmetic without the time module; I don't like the time module.
I don't think the dateutil functionality is provided by the time
module at all.
> My 20 milli-euro's ;-)
Thanks! :_)
> P.S.
> "cal 9 1752" would also be nice to have in Python ;-)
>>> print calendar.month(1972, 9)
September 1972
Mo Tu We Th Fr Sa Su
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30
--
Gustavo Niemeyer
http://niemeyer.net
More information about the Python-Dev
mailing list