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/2000-February/002097.html below:

[Python-Dev] win32 specific exception in the core?

[Python-Dev] win32 specific exception in the core? [Python-Dev] win32 specific exception in the core?Tim Peters tim_one@email.msn.com
Mon, 7 Feb 2000 01:42:16 -0500
[Mark Hammond]
> As part of the registry work, Im toying with the idea of a
> standard "win32 exception" error in the Python core.

Sounds good to me, but if & only if it's a subclass of OSError (why?
because nothing else makes sense <wink>).  I added UnboundLocalError as a
subclass of NameError (in the CVS tree), so you can mimic what that did.
IIRC, for the benefit of the old "string-based exceptions" option hack,
UnboundLocalError reverts to NameError if class-based exceptions are
disabled ...





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