• Fred Drake's avatar
    Michael Hudson <mwh21@cam.ac.uk>: · b638aafe
    Fred Drake yazdı
    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.
    b638aafe
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
setup.py Loading commit data...