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/021645.html below:

[Python-Dev] Re: asyncore 2.1.1/2.2 incompatibility

[Python-Dev] Re: asyncore 2.1.1/2.2 incompatibility [Python-Dev] Re: asyncore 2.1.1/2.2 incompatibilityAndrew Kuchling akuchlin@mems-exchange.org
Fri, 22 Mar 2002 15:08:24 -0500
On Fri, Mar 22, 2002 at 01:24:32PM -0500, Jeremy Hylton wrote:
>Raising the exception only works from inside a signal handler, right?

I don't see why it would.  handle_read_event and handle_write_event
can raise the asyncore.ExitNow exception to terminate the main loop.
A signal handler should also raise ExitNow, in case it's unlucky and
fires within a handle_*_event() method.

(Boy, do we ever need an asyncore HOWTO.)

--amk                                                             (www.amk.ca)
Good place to put things, cellars.
    -- The Doctor, in "Remembrance of the Daleks"



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