A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-June/036057.html below:

[Python-Dev] Re: PEP-317

[Python-Dev] Re: PEP-317Fred L. Drake, Jr. fdrake@acm.org
Mon, 9 Jun 2003 15:07:16 -0400
Guido van Rossum writes:
 > Python usually doesn't care about isinstance relationships but cares
 > about whether the needed protocol is implemented, and this suggests
 > that requiring exceptions to subclass Exception is unPythonic.

Definiately!

 > But at other times, the desire to catch bogus arguments to raise
 > suggests that the subclass requirement might be just fine, and I don't
 > have a use case that breaks with this requirement (since you can
 > always use multiple inheritance to make a desirable class raisable).

Yeah, but that's really annoying.


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4