On Sat, 16 Jun 2012 07:48:19 +1000 Steven D'Aprano <st...@pearwood.info> wrote: > > The introduction of BindError will allow functions to raise a more specific, > and less misleading, exception when they are called with the wrong number of > arguments, or invalid keywords, etc.
If that's what you want, a separate PEP is needed. Right now we are talking about using it only in the context of PEP 362, where it is not useful over a plain TypeError (bind() only binds, so there is no possible confusion between different "kinds" of TypeErrors). Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com