~spiv/twisted/ftp-async-close-3462

Viewing all changes in revision 15455.

  • Committer: exarkun
  • Date: 2010-02-23 04:30:27 UTC
  • Revision ID: svn-v4:bbbe8e31-12d6-0310-92fd-ac37d47ddeeb:trunk:28447
Merge popen-compatibility-733-6

Author: glyph, itamar, exarkun, (perhaps others sorry if I forgot you)
Reviewer: glyph, dreid, jknight
Fixes: #733

Change the reactors to, on POSIX, use `signal.set_wakeup_fd`
and `signal.siginterrupt` to support child processes without
creating the possibility for causing syscalls to fail with
EINTR.  On Python 2.5 and older, where these APIs are not
available, a new extension module is added to implement the
functionality.  If neither of these is available, revert to
the old behavior.  Also Glib2/Gtk2 reactor retain the old
behavior due to implementation difficulties.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: