Serhiy Storchaka added the comment:

I suppose that calendar.error is here for compatibility. It is an alias to 
ValueError, so that errors raised by the calendar module can be catched with 
the "except calendar.error:" statement. Making calendar.error different class 
will likely break user code. I am inclined to reject this patch.

----------
nosy: +serhiy.storchaka

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23304>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to