Alexander Belopolsky added the comment: Under my proposal year=-1 is 2 B.C. and year 0 is a leap year
$ ./python.exe -mcalendar 0 2 February 0 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 This is the simplest extension and people who require other variants can make their own adjustments. (This suggests that we should probably bring weekday(), isleap(), etc. methods to the Calendar class to allow users to override them.) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28281> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com