[Patches] [ python-Patches-417081 ] termios modernization

noreply@sourceforge.net noreply@sourceforge.net
Wed, 18 Apr 2001 08:30:26 -0700


Patches item #417081, was updated on 2001-04-18 08:30
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=417081&group_id=5470

Category: Modules
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Michael Hudson (mwh)
Assigned to: Nobody/Anonymous (nobody)
Summary: termios modernization

Initial Comment:
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 (which is why I didn't do this
last week...)

I still need to do the docs.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=417081&group_id=5470