Kaydet (Commit) a78f74ce authored tarafından Antoine Pitrou's avatar Antoine Pitrou

Issue #8078: Add constants for higher baud rates in the termios module.

Patch by Rodolpho Eckhardt.
üst 74abf6f8
...@@ -235,6 +235,7 @@ Josip Dzolonga ...@@ -235,6 +235,7 @@ Josip Dzolonga
Maxim Dzumanenko Maxim Dzumanenko
Walter Dörwald Walter Dörwald
Hans Eckardt Hans Eckardt
Rodolpho Eckhardt
Grant Edwards Grant Edwards
John Ehresman John Ehresman
Eric Eisner Eric Eisner
......
...@@ -30,6 +30,9 @@ Core and Builtins ...@@ -30,6 +30,9 @@ Core and Builtins
Library 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 #10407: Fix two NameErrors in distutils.
- Issue #10371: Deprecated undocumented functions in the trace module. - Issue #10371: Deprecated undocumented functions in the trace module.
......
...@@ -347,6 +347,43 @@ static struct constant { ...@@ -347,6 +347,43 @@ static struct constant {
#ifdef B230400 #ifdef B230400
{"B230400", B230400}, {"B230400", B230400},
#endif #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 #ifdef CBAUDEX
{"CBAUDEX", CBAUDEX}, {"CBAUDEX", CBAUDEX},
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment