Commit b919d81
authored
bpo-45831: _Py_DumpASCII() uses a single write() call if possible (pythonGH-29596)
If the string is ASCII only and doesn't need to escape characters,
write the whole string with a single write() syscall.1 parent e002bbc commit b919d81
File tree
2 files changed
+27
-0
lines changed- Misc/NEWS.d/next/Library
- Python
2 files changed
+27
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
| 1084 | + | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
1075 | 1095 | | |
1076 | 1096 | | |
1077 | 1097 | | |
| |||
1095 | 1115 | | |
1096 | 1116 | | |
1097 | 1117 | | |
| 1118 | + | |
| 1119 | + | |
1098 | 1120 | | |
1099 | 1121 | | |
1100 | 1122 | | |
| |||
0 commit comments