[Python-checkins] r86610 - in python/branches/py3k: Misc/ACKS Misc/NEWS Modules/termios.c

antoine.pitrou python-checkins at python.org
Sat Nov 20 21:03:08 CET 2010


Author: antoine.pitrou
Date: Sat Nov 20 21:03:08 2010
New Revision: 86610

Log:
Issue #8078: Add constants for higher baud rates in the termios module.
Patch by Rodolpho Eckhardt.



Modified:
   python/branches/py3k/Misc/ACKS
   python/branches/py3k/Misc/NEWS
   python/branches/py3k/Modules/termios.c

Modified: python/branches/py3k/Misc/ACKS
==============================================================================
--- python/branches/py3k/Misc/ACKS	(original)
+++ python/branches/py3k/Misc/ACKS	Sat Nov 20 21:03:08 2010
@@ -235,6 +235,7 @@
 Maxim Dzumanenko
 Walter Dörwald
 Hans Eckardt
+Rodolpho Eckhardt
 Grant Edwards
 John Ehresman
 Eric Eisner

Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS	(original)
+++ python/branches/py3k/Misc/NEWS	Sat Nov 20 21:03:08 2010
@@ -30,6 +30,9 @@
 Library
 -------
 
+- Issue #8078: Add constants for higher baud rates in the termios module.
+  Patch by Rodolpho Eckhardt.
+
 - Issue #10407: Fix two NameErrors in distutils.
 
 - Issue #10371: Deprecated undocumented functions in the trace module.

Modified: python/branches/py3k/Modules/termios.c
==============================================================================
--- python/branches/py3k/Modules/termios.c	(original)
+++ python/branches/py3k/Modules/termios.c	Sat Nov 20 21:03:08 2010
@@ -347,6 +347,43 @@
 #ifdef B230400
     {"B230400", B230400},
 #endif
+#ifdef B460800
+    {"B460800", B460800},
+#endif
+#ifdef B500000
+    {"B500000", B500000},
+#endif
+#ifdef B576000
+    {"B576000", B576000},
+#endif
+#ifdef B921600
+    {"B921600", B921600},
+#endif
+#ifdef B1000000
+    {"B1000000", B1000000},
+#endif
+#ifdef B1152000
+    {"B1152000", B1152000},
+#endif
+#ifdef B1500000
+    {"B1500000", B1500000},
+#endif
+#ifdef B2000000
+    {"B2000000", B2000000},
+#endif
+#ifdef B2500000
+    {"B2500000", B2500000},
+#endif
+#ifdef B3000000
+    {"B3000000", B3000000},
+#endif
+#ifdef B3500000
+    {"B3500000", B3500000},
+#endif
+#ifdef B4000000
+    {"B4000000", B4000000},
+#endif
+
 #ifdef CBAUDEX
     {"CBAUDEX", CBAUDEX},
 #endif


More information about the Python-checkins mailing list