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.

Author belopolsky
Recipients belopolsky, doerwalter, serhiy.storchaka, xiang.zhang
Date 2016-09-27.19:34:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475004899.98.0.662992612784.issue28281@psf.upfronthosting.co.za>
In-reply-to
Content
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.)
History
Date User Action Args
2016-09-27 19:35:00belopolskysetrecipients: + belopolsky, doerwalter, serhiy.storchaka, xiang.zhang
2016-09-27 19:34:59belopolskysetmessageid: <1475004899.98.0.662992612784.issue28281@psf.upfronthosting.co.za>
2016-09-27 19:34:59belopolskylinkissue28281 messages
2016-09-27 19:34:59belopolskycreate