This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: calendar module does not support years outside [1, 9999] range
Type: Stage: resolved
Components: Documentation Versions: Python 3.2
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: belopolsky Nosy List: belopolsky, rhettinger
Priority: normal Keywords:

Created on 2010-10-18 17:23 by belopolsky, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg119041 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2010-10-18 17:23
Documentation for the calendar module says:

"""
Most of these functions and classes rely on the datetime module which uses an idealized calendar, the current Gregorian calendar indefinitely extended in both directions.
"""

However, neither the datetime nor as a consequence the calendar module support years  outside [1, 9999] range.
msg122075 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2010-11-22 02:49
Go ahead an remove the word "indefinitely".
msg122077 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2010-11-22 03:07
Fixed in revision 86669.
History
Date User Action Args
2022-04-11 14:57:07adminsetgithub: 54347
2010-11-22 03:07:38belopolskysetstatus: open -> closed
resolution: fixed
messages: + msg122077

stage: resolved
2010-11-22 02:49:08rhettingersetmessages: + msg122075
2010-11-22 01:53:10belopolskysetnosy: + rhettinger
2010-10-18 17:23:38belopolskycreate