Jesus Cea
736e7fc0f6
Issue #11495 : OSF support is eliminated. It was deprecated in Python 3.2
2011-03-14 17:36:54 +01:00
Antoine Pitrou
a78f74ce02
Issue #8078 : Add constants for higher baud rates in the termios module.
...
Patch by Rodolpho Eckhardt.
2010-11-20 20:03:08 +00:00
Antoine Pitrou
f95a1b3c53
Recorded merge of revisions 81029 via svnmerge from
...
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.
........
2010-05-09 15:52:27 +00:00
Gregory P. Smith
cafc22f0b8
Merged revisions 75999 via svnmerge from
...
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.
........
2009-11-01 19:24:18 +00:00
Martin v. Löwis
1a21451b1d
Implement PEP 3121: new module initialization and finalization API.
2008-06-11 05:26:20 +00:00
Christian Heimes
72b710a596
Renamed PyString to PyBytes
2008-05-26 13:28:38 +00:00
Christian Heimes
217cfd1c86
Cleanup: Replaced most PyInt_ aliases with PyLong_ and disabled the aliases in intobject.h
2007-12-02 14:31:20 +00:00
Neal Norwitz
1ac754fa10
Check return result from Py_InitModule*(). This API can fail.
...
Probably should be backported.
2006-01-19 06:09:39 +00:00
Martin v. Löwis
be4fea6198
Patch #787189 : Explicitly define CTRL on SGI.
2003-10-31 13:01:24 +00:00
Neal Norwitz
8225103d2d
Get test_ioctl to pass on HPUX 11.
...
TIOCGPGRP and many other definitions come from bsdtty.h, so it needs
to be included at least on HPUX.
2003-05-23 14:35:24 +00:00
Mark Hammond
fe51c6d66e
Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype
...
for Py_Main().
Thanks to Kalle Svensson and Skip Montanaro for the patches.
2002-08-02 02:27:13 +00:00
Martin v. Löwis
14f8b4cfcb
Patch #568124 : Add doc string macros.
2002-06-13 20:33:02 +00:00
Andrew MacIntyre
7bf6833e17
OS/2 EMX port changes (Modules part of patch #450267 ):
...
Modules/
_hotshot.c
dbmmodule.c
fcntlmodule.c
main.c
pwdmodule.c
readline.c
selectmodule.c
signalmodule.c
termios.c
timemodule.c
unicodedata.c
2002-03-03 02:59:16 +00:00
Fred Drake
78f6c867ae
Use PyModule_AddObject() instead of accessing the module dict directly.
2002-02-14 07:11:23 +00:00
Martin v. Löwis
cdc4451222
Include <unistd.h> in Python.h. Fixes #500924 .
2002-01-12 11:05:12 +00:00
Thomas Wouters
2b30524ea9
Forward-port revision 2.24.2.4 from the release21-maint branch:
...
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.
2001-06-15 12:05:44 +00:00
Thomas Wouters
819bb2c502
Protect the use of the VWERASE symbol by an #ifdef, it's apparently missing
...
on (some versions of ?) AIX.
2001-06-11 15:25:16 +00:00
Fred Drake
d0b625d05a
Correct the sense of a couple of conditional compilations -- used #ifndef
...
when #ifdef was needed.
This closes (reallu!) SF bug #417418 .
2001-05-22 15:44:15 +00:00
Fred Drake
87068f1eaa
Include sys/modem.h if we have it; this is needed on HP-UX to provide
...
constants used by other macros from the headers.
Conditionalize VREPRINT and VDISCARD; these are not available on HP-UX.
This closes bug #417418 .
2001-05-11 16:14:17 +00:00
Fred Drake
c99ff60573
fdconv(): Do not second guess the error condition returned by
...
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().
2001-05-09 20:14:09 +00:00
Fred Drake
b2877dd122
Only import termio.h on OSF, and add a comment about why it is needed there.
...
This header does not exist on all Unix flavors; FreeBSD in particular does
not include it.
This closes SF bug #422320 .
2001-05-09 17:53:06 +00:00
Fred Drake
b638aafef2
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 .
2001-05-07 17:55:35 +00:00
Guido van Rossum
2242f2fbd0
Unixware 7 support by Billy G. Allie (SF patch 413011)
2001-04-11 20:58:20 +00:00
Fred Drake
29fd0317ba
Michael Hudson <mwh21@cam.ac.uk>:
...
Update the docstrings to no longer refer to the obsolete TERMIOS
module.
This is a partial acceptance of SF patch #413419 .
2001-04-09 19:32:52 +00:00
Fred Drake
d3908e2952
Effectively revert the previous change: leave the new #include in, but
...
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.
2001-04-05 18:26:31 +00:00