Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-20184: Convert termios to Argument Clinic. (GH-22693) | Serhiy Storchaka | 2020-10-18 | 1 | -99/+103 |
| | |||||
* | bpo-41985: Add _PyLong_FileDescriptor_Converter and AC converter for ↵ | Serhiy Storchaka | 2020-10-09 | 1 | -18/+6 |
| | | | | "fildes". (GH-22620) | ||||
* | bpo-1635741: Port the termios to multi-phase init (PEP 489) (GH-22139) | Mohamed Koubaa | 2020-09-08 | 1 | -81/+101 |
| | |||||
* | Update the comment of termios.c (#21886) | Soumendra Ganguly | 2020-08-16 | 1 | -1/+1 |
| | |||||
* | bpo-39968: Convert extension modules' macros of get_module_state() to inline ↵ | Hai Shi | 2020-03-16 | 1 | -5/+13 |
| | | | | functions (GH-19017) | ||||
* | bpo-28367: Add additional baud rates for termios (GH-13142) | Anthony Shaw | 2020-01-04 | 1 | -0/+33 |
| | | | | | | Co-authored-by: Andrey Smirnov <andrew.smirnov@gmail.com>. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | bpo-38071: Make termios PEP-384 compatible (GH-15785) | Dino Viehland | 2019-09-10 | 1 | -20/+47 |
| | | | | Make the termios module PEP-384 compatible. | ||||
* | Fix typos mostly in comments, docs and test names (GH-15209) | Min ho Kim | 2019-08-30 | 1 | -1/+1 |
| | |||||
* | Fix a possible "double decref" in termios.tcgetattr(). (GH-10194) | Zackery Spytz | 2018-10-29 | 1 | -2/+2 |
| | |||||
* | bpo-32660: Solaris should support constants like termios' FIONREAD (#5328) | jcea | 2018-01-28 | 1 | -0/+6 |
| | |||||
* | Issue #28999: Use Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE wherever | Serhiy Storchaka | 2017-01-23 | 1 | -10/+5 |
| | | | | possible. Patch is writen with Coccinelle. | ||||
* | Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2 | Jesus Cea | 2011-03-14 | 1 | -5/+0 |
| | |||||
* | Issue #8078: Add constants for higher baud rates in the termios module. | Antoine Pitrou | 2010-11-20 | 1 | -0/+37 |
| | | | | Patch by Rodolpho Eckhardt. | ||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -452/+452 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ | ||||
* | Merged revisions 75999 via svnmerge from | Gregory P. Smith | 2009-11-01 | 1 | -0/+3 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75999 | gregory.p.smith | 2009-10-31 14:23:39 -0700 (Sat, 31 Oct 2009) | 2 lines Define TCSASOFT if the flag exists. ........ | ||||
* | Implement PEP 3121: new module initialization and finalization API. | Martin v. Löwis | 2008-06-11 | 1 | -5/+15 |
| | |||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -3/+3 |
| | |||||
* | Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases ↵ | Christian Heimes | 2007-12-02 | 1 | -16/+16 |
| | | | | in intobject.h | ||||
* | Check return result from Py_InitModule*(). This API can fail. | Neal Norwitz | 2006-01-19 | 1 | -0/+2 |
| | | | | Probably should be backported. | ||||
* | Patch #787189: Explicitly define CTRL on SGI. | Martin v. Löwis | 2003-10-31 | 1 | -0/+6 |
| | |||||
* | Get test_ioctl to pass on HPUX 11. | Neal Norwitz | 2003-05-23 | 1 | -0/+4 |
| | | | | | TIOCGPGRP and many other definitions come from bsdtty.h, so it needs to be included at least on HPUX. | ||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 1 | -1/+1 |
| | | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. | ||||
* | Patch #568124: Add doc string macros. | Martin v. Löwis | 2002-06-13 | 1 | -21/+21 |
| | |||||
* | OS/2 EMX port changes (Modules part of patch #450267): | Andrew MacIntyre | 2002-03-03 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | Modules/ _hotshot.c dbmmodule.c fcntlmodule.c main.c pwdmodule.c readline.c selectmodule.c signalmodule.c termios.c timemodule.c unicodedata.c | ||||
* | Use PyModule_AddObject() instead of accessing the module dict directly. | Fred Drake | 2002-02-14 | 1 | -4/+6 |
| | |||||
* | Include <unistd.h> in Python.h. Fixes #500924. | Martin v. Löwis | 2002-01-12 | 1 | -4/+0 |
| | |||||
* | Forward-port revision 2.24.2.4 from the release21-maint branch: | Thomas Wouters | 2001-06-15 | 1 | -0/+10 |
| | | | | | | Protect several more uses of constants with #ifdefs; these are necessary on (at least) SCO OpenServer 5. Fixes a non-SF-submitted bugreport by Michael Kent. | ||||
* | Protect the use of the VWERASE symbol by an #ifdef, it's apparently missing | Thomas Wouters | 2001-06-11 | 1 | -0/+2 |
| | | | | on (some versions of ?) AIX. | ||||
* | Correct the sense of a couple of conditional compilations -- used #ifndef | Fred Drake | 2001-05-22 | 1 | -2/+2 |
| | | | | | | when #ifdef was needed. This closes (reallu!) SF bug #417418. | ||||
* | Include sys/modem.h if we have it; this is needed on HP-UX to provide | Fred Drake | 2001-05-11 | 1 | -0/+12 |
| | | | | | | | | constants used by other macros from the headers. Conditionalize VREPRINT and VDISCARD; these are not available on HP-UX. This closes bug #417418. | ||||
* | fdconv(): Do not second guess the error condition returned by | Fred Drake | 2001-05-09 | 1 | -37/+4 |
| | | | | | | | | PyObject_AsFileDescriptor() -- it does the same thing everywhere, so use it the same way everyone else does so that exceptions are consistent. This means we have less code here, and we do not need to resort to hackish ways of getting the Python-visible function name to fdconv(). | ||||
* | Only import termio.h on OSF, and add a comment about why it is needed there. | Fred Drake | 2001-05-09 | 1 | -0/+4 |
| | | | | | | | This header does not exist on all Unix flavors; FreeBSD in particular does not include it. This closes SF bug #422320. | ||||
* | Michael Hudson <mwh21@cam.ac.uk>: | Fred Drake | 2001-05-07 | 1 | -53/+84 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Unixware 7 support by Billy G. Allie (SF patch 413011) | Guido van Rossum | 2001-04-11 | 1 | -0/+4 |
| | |||||
* | Michael Hudson <mwh21@cam.ac.uk>: | Fred Drake | 2001-04-09 | 1 | -13/+10 |
| | | | | | | | Update the docstrings to no longer refer to the obsolete TERMIOS module. This is a partial acceptance of SF patch #413419. | ||||
* | Effectively revert the previous change: leave the new #include in, but | Fred Drake | 2001-04-05 | 1 | -0/+3 |
| | | | | | comment it out with an explanation. This makes it easier for someone who wants the additional symbols to try re-enabling it for their platform. | ||||
* | Add an #include of sys/ioctl.h to pick up a lot of the constants supported | Fred Drake | 2001-04-04 | 1 | -0/+1 |
| | | | | | | in the previous patch. This closes (again!) SF patch #410267. | ||||
* | Michael Hudson <mwh21@cam.ac.uk>: | Fred Drake | 2001-03-26 | 1 | -0/+329 |
| | | | | | | Add many more constants for some systems. This closes SF patch #410267. | ||||
* | Wrap several more of the constants in #ifdef/#endif for FreeBSD; at least | Fred Drake | 2001-03-03 | 1 | -0/+58 |
| | | | | | | | some fairly recent versions have an anaemic selection of terminal-control symbols. This closes SF bug #405567. | ||||
* | Add more protection around the VSWTC/VSWTCH, CRTSCTS, and XTABS symbols; | Fred Drake | 2001-03-02 | 1 | -1/+9 |
| | | | | | | | | | these can be missing on some (all?) Irix and Tru64 versions. Protect the CRTSCTS value with a cast; this can be a larger value on Solaris/SPARC. This should fix SF tracker items #405092, #405350, and #405355. | ||||
* | Solaris defines VSWTCH instead of VSWTC; carefully make sure both are | Fred Drake | 2001-03-01 | 1 | -0/+11 |
| | | | | | | | | | | defined and export both names. Solaris also does not define CBAUDEX; it is not clear that CBAUDEXT (which is defined there) is the same thing, so we only protect against the lack of CBAUDEX. Reported by Greg V. Wilson. | ||||
* | Revised version of Jason Tishler's patch to make this compile on Cygwin, | Fred Drake | 2001-03-01 | 1 | -0/+10 |
| | | | | | | which does not define all the constants. This closes SF tracker patch #404924. | ||||
* | Define the constants needed for working with these functions directly | Fred Drake | 2001-02-27 | 1 | -0/+158 |
| | | | | in this module; no more need for TERMIOS.py. | ||||
* | Use METH_OLDARGS instead of numeric constant 0 in method def. tables | Andrew M. Kuchling | 2000-08-03 | 1 | -6/+12 |
| | |||||
* | Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', | Thomas Wouters | 2000-07-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;) | ||||
* | ANSI-fication | Peter Schneider-Kamp | 2000-07-10 | 1 | -18/+6 |
| | |||||
* | Should include "Python.h", not <Python.h> -- it's not a standard | Guido van Rossum | 1999-01-14 | 1 | -1/+1 |
| | | | | header file (yet :-). | ||||
* | Add DL_EXPORT() to all modules that could possibly be used | Guido van Rossum | 1998-12-04 | 1 | -1/+1 |
| | | | | on BeOS or Windows. | ||||
* | Changes for BeOS, QNX and long long, by Chris Herborth. | Guido van Rossum | 1998-08-04 | 1 | -0/+4 |
| | |||||
* | In tcsetattr(), first initialize the mode structure by calling | Guido van Rossum | 1998-06-12 | 1 | -0/+3 |
| | | | | | tcgetattr(). This seems to be the only correct way to cope with platform-specific structure members... |