Skip to content

Commit f3da268

Browse files
📜🤖 Added by blurb_it.
1 parent fd7463a commit f3da268

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Set a :exc:`MemoryError` via :c:func:`PyErr_NoMemory` when buffer allocation
2+
fails in the tokenizer's ``_PyTokenizer_translate_newlines`` helper, so the
3+
out-of-memory condition is propagated as a proper Python exception instead
4+
of only being recorded in ``tok->done``.

0 commit comments

Comments
 (0)