[issue37992] Change datetime.MINYEAR to allow for negative years

Tim Peters report at bugs.python.org
Sat Aug 31 17:19:53 EDT 2019


Tim Peters <tim at python.org> added the comment:

This just isn't going to happen.  There's no agreement to be had.  For example, the proleptic Gregorian calendar _does_ have a "year 0", and so also does ISO 8601.

Version 1.0 of the XML schema spec did not have a year 0, but _claimed_ to be compatible with ISO 8601 - which it wasn't in this respect.  So version 1.1 added year 0, despite then being incompatible with version 1.0 of itself in this respect[1].

> I am not sure that adding this feature would be worth
> the support burden it would bring.

I am:  it wouldn't ;-)  

[1] https://en.wikipedia.org/wiki/Astronomical_year_numbering

----------
nosy: +tim.peters

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


More information about the Python-bugs-list mailing list