Repository navigation
Commit fa80b20
committed
gh-159739: Check character formatting allocation failure
Propagate the error from PyUnicode_FromOrdinal() before using the
result.
Backport to 3.15 and 3.14. On 3.14, the equivalent code is in
Python/formatter_unicode.c.1 parent a071788 commit fa80b20
2 files changed
Lines changed: 5 additions & 0 deletions
File tree
- Misc/NEWS.d/next/Core_and_Builtins
- Objects
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1258 | 1258 | | |
1259 | 1259 | | |
1260 | 1260 | | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
1261 | 1264 | | |
1262 | 1265 | | |
1263 | 1266 | | |
| |||
0 commit comments