This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author twouters
Recipients
Date 2000-06-26.19:28:35
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
This patch adds the openpty() and forkpty() library calls to posixmodule.c, when they are available on the target system. (glibc-2.1-based Linux systems, FreeBSD and BSDI at least, probably the other BSD-based systems as well.)

Lib/pty.py is also rewritten to use openpty when available, but falls back to the old SGI method or the 'manual' BSD open-a-pty code. Openpty() is necessary to use the Unix98 pty's under Linux 2.2, or when using non-standard tty names under (at least) BSDI, which is why I needed it, myself ;-)
forkpty() is included for symmetry.

The next patch includes suggested Doc-changes, but I'm not a TeX-y and haven't tested these additions.

See http://www.python.org/pipermail/patches/2000-June/000896.html and http://www.python.org/pipermail/patches/2000-June/000962.html for more information.
History
Date User Action Args
2007-08-23 14:59:37adminlinkissue400640 messages
2007-08-23 14:59:37admincreate