summaryrefslogtreecommitdiffstats
path: root/Modules/termios.c
Commit message (Collapse)AuthorAgeFilesLines
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-7/+67
|
* Apply two changes, systematically:Guido van Rossum1997-10-011-4/+1
| | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code!
* Add 'return' keyword before error calls.Guido van Rossum1997-07-171-8/+8
|
* The usual return-value and memory management checks. I'm not planningBarry Warsaw1997-01-101-10/+16
| | | | | a test for this module though (it does compile at least on Solaris 2.5)
* Fix operator priority bug found thanks to gcc -Wall.Guido van Rossum1996-12-101-1/+1
|
* * various modules: #include "Python.h" and remove most remporaryGuido van Rossum1994-09-141-16/+1
| | | | renaming hacks
* Steen Lumholt's termios interface.Guido van Rossum1994-09-121-0/+258