commit: 9607fb432f1333774bf6994166e2fa7e96616b6d
Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 18 16:39:58 2015 +0000
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Jun 20 06:55:43 2015 +0000
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=9607fb43
disable openpty on more unices
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>
pym/portage/util/_pty.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/pym/portage/util/_pty.py b/pym/portage/util/_pty.py
index 13e468b..a92f575 100644
--- a/pym/portage/util/_pty.py
+++ b/pym/portage/util/_pty.py
@@ -9,12 +9,12 @@ from portage import os
from portage.output import get_term_size, set_term_size
from portage.util import writemsg
-# Disable the use of openpty on Solaris as it seems Python's openpty
-# implementation doesn't play nice on Solaris with Portage's
-# behaviour causing hangs/deadlocks.
+# Disable the use of openpty on Solaris (and others) as it seems Python's
+# openpty implementation doesn't play nice with Portage's behaviour,
+# causing hangs/deadlocks.
# Additional note for the future: on Interix, pipes do NOT work, so
# _disable_openpty on Interix must *never* be True
-_disable_openpty = platform.system() in ("SunOS","FreeMiNT",)
+_disable_openpty = platform.system() in ("AIX","FreeMiNT","HP-UX","SunOS",)
_fbsd_test_pty = platform.system() == 'FreeBSD'