* Call self._wait() when unregistering output handlers, in order to avoid
authorZac Medico <zmedico@gentoo.org>
Tue, 8 Jul 2008 21:19:22 +0000 (21:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 8 Jul 2008 21:19:22 +0000 (21:19 -0000)
commitcba97158368c7d9dcd1b7e0c25ecf91ae58fe1a1
treebef8b6138b35c11b8c6714fff70f7e19ca66e128
parentffa39d0638e12a4957014afdbdbb15967bf7e3b6
* Call self._wait() when unregistering output handlers, in order to avoid
  triggering a tight loop. Also fix Subprocess._wait() to only schedule
  when self.registered is True.

* Add an assertion inside Scheduler._schedule_main() to try and detect tight
  loops like the one above.

* Fix typo in Scheduler._merge_exit().

svn path=/main/trunk/; revision=10989
pym/_emerge/__init__.py