diff options
author | Fred Drake <fdrake@acm.org> | 2001-05-07 17:55:35 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-05-07 17:55:35 (GMT) |
commit | b638aafef2e43c0edb8f53d6824e68a588799388 (patch) | |
tree | 0aadb44d15bd172aa6f9491a4ff6d69152bb1a51 /Modules/newmodule.c | |
parent | a8e0827614aec90a4ca887ac379b47f7dd37f206 (diff) | |
download | cpython-b638aafef2e43c0edb8f53d6824e68a588799388.zip cpython-b638aafef2e43c0edb8f53d6824e68a588799388.tar.gz cpython-b638aafef2e43c0edb8f53d6824e68a588799388.tar.bz2 |
Michael Hudson <mwh21@cam.ac.uk>:
This patch does several things to termios:
(1) changes all functions to be METH_VARARGS
(2) changes all functions to be able to take a file object as the
first parameter, as per
http://mail.python.org/pipermail/python-dev/2001-February/012701.html
(3) give better error messages
(4) removes a bunch of comments that just repeat the docstrings
(5) #includes <termio.h> before #including <sys/ioctl.h> so more
#constants are actually #defined.
(6) a couple of docstring tweaks
I have tested this minimally (i.e. it builds, and
doesn't blow up too embarassingly) on OSF1/alpha and
on one of the sf compile farm's solaris boxes, and
rather more comprehansively on my linux/x86 box.
It still needs to be tested on all the other platforms
we build termios on.
This closes the code portion of SF patch #417081.
Diffstat (limited to 'Modules/newmodule.c')
0 files changed, 0 insertions, 0 deletions