summaryrefslogtreecommitdiffstats
path: root/Lib/pty.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2001-01-151-113/+113
|
* Fix bug #379, reported by Phillip Porch <root@theproch.com>:Fred Drake2000-07-031-1/+1
| | | | | | | | openpty(): Fallback code when os.openpty() does not exist attempted to call _slave_open(), which should have been slave_open(). This bug only showed on platforms which do not provide a working openpty() in the C library.
* Thomas Wouters <thomas@xs4all.net>:Fred Drake2000-06-281-16/+57
| | | | | | | | | | | | | 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 ptys 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.
* More trivial comment -> docstring transformations by Ka-Ping Yee,Guido van Rossum2000-02-041-13/+15
| | | | | | | | | | | | | | | | | | who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay.
* No need to import sys. (Andrew Dalke & kjpylint)Guido van Rossum1999-05-031-1/+1
|
* New tty/pty modules by Steen; new urlparser.Guido van Rossum1994-09-121-0/+106