summaryrefslogtreecommitdiffstats
path: root/Lib/pty.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization.Tim Peters2007-01-301-1/+1
|
* [Patch #783050 from Patrick Lynch] The emulation of forkpty() is incorrect;Andrew M. Kuchling2006-12-221-1/+3
| | | | | | | | | | the master should close the slave fd. Added a test to test_pty.py that reads from the master_fd after doing a pty.fork(); without the fix it hangs forever instead of raising an exception. (<crossing fingers for the buildbots>) 2.5 backport candidate.
* Patch #838546: Make terminal become controlling in pty.fork().Martin v. Löwis2006-11-091-0/+4
| | | | Will backport to 2.5.
* Removed no-longer-needed convolutions to recover from damaged modulesTim Peters2004-08-021-11/+0
| | | | getting left beyind in sys.modules.
* [Bug #897935] Fix fd leak in pty.spawn(). Reported by James Henstridge; 2.3 ↵Andrew M. Kuchling2004-06-051-0/+2
| | | | bugfix candidate.
* Get rid of many apply() calls.Guido van Rossum2003-02-271-1/+1
|
* Whitespace normalization.Tim Peters2003-01-291-2/+2
|
* Expose I_ constants. Auto-detect stropts.h. Properly configure the slave ↵Martin v. Löwis2003-01-011-1/+11
| | | | terminal.
* Patch #581705: Catch OSError, termios.error in spawn. 2.2 bugfix candidate.Martin v. Löwis2002-07-281-4/+9
|
* Whitespace normalization.Tim Peters2001-05-291-1/+1
|
* A disgusting "fix" for the test___all__ failure under Windows.Tim Peters2001-05-131-0/+11
|
* Clean up bare except where only IOError makes sense.Fred Drake2001-05-111-1/+1
|
* Update to reflect deprecation of the FCNTL module: The fcntl module doesFred Drake2001-05-101-4/+4
| | | | *not* define O_RDWR; get that from the os module.
* __all__ for several more modulesSkip Montanaro2001-02-121-0/+2
|
* 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