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/2005-January/051152.html below:

[Python-Dev] Exceptions *must*? be old-style classes?

[Python-Dev] Exceptions *must*? be old-style classes? [Python-Dev] Exceptions *must*? be old-style classes?Phillip J. Eby pje at telecommunity.com
Mon Jan 17 17:35:53 CET 2005
At 04:06 PM 1/17/05 +0000, Michael Hudson wrote:
>a) Is Exception to be new-style?

Probably not in 2.5; Martin and others have suggested that this could 
introduce instability for users' existing exception classes.


>b) Somewhat but not entirely independently, would demanding that all
>    new-style exceptions inherit from Exception be reasonable?

Yes.  Right now you can't have a new-style exception at all, so it would be 
quite reasonable to require new ones to inherit from Exception.

More information about the Python-Dev mailing list

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