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/2002-March/021801.html below:

[Python-Dev] Deprecating string exceptions

[Python-Dev] Deprecating string exceptions [Python-Dev] Deprecating string exceptionsMartin v. Loewis martin@v.loewis.de
27 Mar 2002 20:15:56 +0100
Guido van Rossum <guido@python.org> writes:

> Can we safely make Exception (and hence all built-in exceptions) a
> new-style class?  This could break user code (even when we don't
> enforce that exceptions are derived from Exception).

I see no need to make such a change, with this change alone, I can't
see risks for breaking code, either.

If you would also make Exception.args a slot, there would be a
rationale (efficiency), but you would also more likely break user
code.

Regards,
Martin




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