Commit c28b121
Due to a bug, some Unicode codepoint attributes were considered
for characters not yet defined in Unicode 3.2.0 or attributes
which changed in later Unicode versions. RFC 3454 (StringPrep)
requires using Unicode 3.2.0 strictly.
(cherry picked from commit 7e109d0)
The cherry-pick needed reworking as GH-144815 wasn't backported to 3.14
and below, so unassigned characters don't have bidi values.
(cherry picked from commit 1e54caa)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Seth Larson <seth@python.org>
Co-authored-by: Stan Ulbrych <89152624+stanfromireland@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
---------
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Seth Larson <seth@python.org>
Co-authored-by: Stan Ulbrych <89152624+stanfromireland@users.noreply.github.com>
1 parent a4ab2c1 commit c28b121
9 files changed
Lines changed: 428 additions & 183 deletions
File tree
- Lib
- test
- Misc/NEWS.d/next/Security
- Modules
- Objects
- Tools/unicode
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1620 | 1620 | | |
1621 | 1621 | | |
1622 | 1622 | | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
1623 | 1632 | | |
1624 | 1633 | | |
1625 | 1634 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
319 | 319 | | |
320 | 320 | | |
321 | 321 | | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
322 | 331 | | |
323 | 332 | | |
324 | 333 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
711 | 713 | | |
712 | 714 | | |
713 | 715 | | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
714 | 729 | | |
715 | 730 | | |
716 | 731 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
3 | 8 | | |
4 | 9 | | |
5 | 10 | | |
6 | | - | |
7 | | - | |
| 11 | + | |
| 12 | + | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
11 | | - | |
12 | | - | |
| 16 | + | |
| 17 | + | |
13 | 18 | | |
14 | 19 | | |
15 | 20 | | |
| |||
47 | 52 | | |
48 | 53 | | |
49 | 54 | | |
50 | | - | |
51 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
52 | 65 | | |
53 | 66 | | |
54 | 67 | | |
| |||
116 | 129 | | |
117 | 130 | | |
118 | 131 | | |
119 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
120 | 141 | | |
121 | 142 | | |
122 | | - | |
| 143 | + | |
123 | 144 | | |
124 | 145 | | |
125 | 146 | | |
| |||
139 | 160 | | |
140 | 161 | | |
141 | 162 | | |
142 | | - | |
| 163 | + | |
143 | 164 | | |
144 | 165 | | |
145 | 166 | | |
| |||
172 | 193 | | |
173 | 194 | | |
174 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
175 | 200 | | |
176 | 201 | | |
177 | 202 | | |
178 | 203 | | |
179 | 204 | | |
180 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
181 | 216 | | |
182 | 217 | | |
183 | 218 | | |
184 | 219 | | |
185 | 220 | | |
186 | 221 | | |
187 | | - | |
188 | | - | |
189 | | - | |
| 222 | + | |
190 | 223 | | |
191 | 224 | | |
192 | 225 | | |
| |||
207 | 240 | | |
208 | 241 | | |
209 | 242 | | |
210 | | - | |
| 243 | + | |
211 | 244 | | |
212 | | - | |
| 245 | + | |
213 | 246 | | |
214 | 247 | | |
215 | 248 | | |
| |||
226 | 259 | | |
227 | 260 | | |
228 | 261 | | |
229 | | - | |
| 262 | + | |
230 | 263 | | |
231 | | - | |
| 264 | + | |
232 | 265 | | |
233 | 266 | | |
234 | 267 | | |
| |||
251 | 284 | | |
252 | 285 | | |
253 | 286 | | |
254 | | - | |
255 | | - | |
256 | | - | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
257 | 290 | | |
258 | 291 | | |
259 | 292 | | |
260 | | - | |
| 293 | + | |
261 | 294 | | |
262 | 295 | | |
263 | | - | |
| 296 | + | |
264 | 297 | | |
265 | 298 | | |
266 | 299 | | |
| |||
275 | 308 | | |
276 | 309 | | |
277 | 310 | | |
278 | | - | |
| 311 | + | |
279 | 312 | | |
280 | 313 | | |
281 | 314 | | |
| |||
295 | 328 | | |
296 | 329 | | |
297 | 330 | | |
298 | | - | |
| 331 | + | |
299 | 332 | | |
300 | 333 | | |
301 | 334 | | |
302 | | - | |
| 335 | + | |
303 | 336 | | |
304 | 337 | | |
305 | 338 | | |
| |||
313 | 346 | | |
314 | 347 | | |
315 | 348 | | |
316 | | - | |
| 349 | + | |
317 | 350 | | |
318 | 351 | | |
319 | 352 | | |
| |||
346 | 379 | | |
347 | 380 | | |
348 | 381 | | |
349 | | - | |
| 382 | + | |
350 | 383 | | |
351 | 384 | | |
352 | 385 | | |
| |||
411 | 444 | | |
412 | 445 | | |
413 | 446 | | |
414 | | - | |
| 447 | + | |
415 | 448 | | |
416 | 449 | | |
417 | 450 | | |
| |||
424 | 457 | | |
425 | 458 | | |
426 | 459 | | |
427 | | - | |
428 | | - | |
| 460 | + | |
| 461 | + | |
0 commit comments