Is there a Tkinter mailing list? <eom>

Gabe Newcomb Gabe.Newcomb at noetix.com
Mon Jul 22 22:19:08 EDT 2002


-----Original Message-----
From: Tim Peters [mailto:tim.one at comcast.net]
Sent: Monday, July 22, 2002 7:17 PM
To: python-list at python.org
Subject: RE: calendar lameness!


[Terry Hancock]
> ...
> "calendar" is pretty neat -- except it has pretty
> annoying arbitrary limits on the date:
>
> 1900-1/1 to 2038-1/18
>
> I can see that this is adequate for a business
> planner, but for historical or astronomical uses,
> it's really inadequate.
> ...

Get Marc-Andre Lemburg's mxDateTime.  Python 2.3 will have some sort of
standard more-powerful datetime gimmick, but Guido is anti-interested in
arguing with datetime weenies <0.9 wink>.

> ...
> This is Python 2.1. Anyway -- any chance these got
> fixed in a later release?

None.

> Why the range?
> ...
> Actually, it looks like maybe it's "mktime" that
> is the limiter here (?).

Bingo!

> ...
> It seems like Python longs would make it unnecessary to
> have such arbitrary limits.

See Demo/classes/Dates.py in the Python source distribution.



-- 
http://mail.python.org/mailman/listinfo/python-list





More information about the Python-list mailing list