[Python-ideas] PEP-3151 pattern-matching

Chris Rebert pyideas at rebertia.com
Wed May 18 00:41:40 CEST 2011


On Tue, May 17, 2011 at 7:14 AM, dag.odenhall at gmail.com
<dag.odenhall at gmail.com> wrote:
> Excuse me if this has already been discussed, but couldn't
> __instancecheck__ be used to add exception types that match with more
> precision?

Somewhat related bug:
http://bugs.python.org/issue12029

Cheers,
Chris



More information about the Python-ideas mailing list