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/2001-November/018423.html below:

[Python-Dev] Proposal - KeyboardInterrupt should inherit directly from Exception

[Python-Dev] Proposal - KeyboardInterrupt should inherit directly from Exception [Python-Dev] Proposal - KeyboardInterrupt should inherit directly from ExceptionThomas Wouters thomas@xs4all.net
Thu, 8 Nov 2001 12:18:53 +0100
On Thu, Nov 08, 2001 at 05:24:53AM -0500, Michael Hudson wrote:
> >>> signal.signal(signal.SIGINT, interrupt)
> <built-in function default_int_handler>
> >>> ^C
> KeyboardInterrupt

[..]

> I think I hate readline.

Exactly :)

> [1] Actually I know, on thinking about it, but it still sucks.
>     Is this worth working around?

I don't think so, but it's worth keeping in mind when writing your readline
replacement, or your REPL/interactive-interpreter replacement.

-- 
Thomas Wouters <thomas@xs4all.net>

Hi! I'm a .signature virus! copy me into your .signature file to help me spread!



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