Zachary Ware added the comment: This is not the correct tracker for Python bugs, that tracker is bugs.python.org. This tracker is for issues with bugs.python.org (aka the meta tracker).
No need to file this issue at b.p.o, though; the calendar module is correct. Years evenly divisible by 4 are leap years, except years evenly divisible by 100 which are not leap years, except years evenly divisible by 400 which *are* leap years. >>> calendar.isleap(1896) True >>> calendar.isleap(1900) False >>> calendar.isleap(1904) True >>> calendar.isleap(1996) True >>> calendar.isleap(2000) True >>> calendar.isleap(2004) True ---------- nosy: +zach.ware status: unread -> resolved topic: -tracker _______________________________________________________ PSF Meta Tracker <[email protected]> <http://psf.upfronthosting.co.za/roundup/meta/issue620> _______________________________________________________ _______________________________________________ Tracker-discuss mailing list [email protected] https://mail.python.org/mailman/listinfo/tracker-discuss Code of Conduct: https://www.python.org/psf/codeofconduct/
