mirror of
https://github.com/python/cpython
synced 2026-11-23 00:04:08 +03:00
* Use diagnostic line for missing-brace errors * Keep implicit prepared newline metadata in the reader * Reuse parsed formatted string kind in lexer * Transfer owned tokenizer encoding strings * Remove unused tokenizer state and redundant branches * Avoid rescanning partial decoded tokenizer lines * Reuse prepared tokenizer line terminators for CR detection * Reuse interactive tokenizer chunks without carriage returns * Release tokenizer constructor resources on allocation failure * Narrow interactive newline normalization wrapper * Close duplicated tokenizer descriptors when fdopen fails * Preserve cached tokenizer lines when newline allocation fails * Collect cycles involving tokenizer readline callbacks * Preserve buffered text when decoding source files * Clear the transferred syntax error line before cleanup * Propagate tokenizer column conversion failures * Allocate parser repetition buffers on first match * Allocate type comment storage only when needed * Reuse decoded multiline text when counting token columns * Skip empty decoded tokenizer chunks * Check parser array growth before allocating * Name tokenizer bounds and derive byte lengths from their data * Set the tokenizer exception when file input size overflows * gh-153569: Send exact line endings in the REPL test * Share parser repetition buffer growth * Fold Unicode input coverage into the existing REPL test * Keep parser array growth policy private * Drop obsolete bitmap stress from source discard test * Preserve input failures while scanning string literals * fixup! Preserve input failures while scanning string literals * fixup! fixup! Preserve input failures while scanning string literals * gh-153569: Remove assertion-only lexer bookkeeping |
||
|---|---|---|
| .. | ||
| clinic | ||
| complex.c | ||
| interpreter.c | ||
| parts.h | ||
| pytime.c | ||
| README.txt | ||
| set.c | ||
| test_cases.c.h | ||
| test_critical_sections.c | ||
| test_lock.c | ||
| test_targets.h | ||
| testbytecodes.c | ||
| tokenizer.c | ||
| tuple.c | ||
| typecache.c | ||
Tests in this directory are compiled into the _testinternalcapi extension. The main file for the extension is Modules/_testinternalcapimodule.c, which calls `_PyTestInternalCapi_Init_*` from these functions. See Modules/_testcapi/README.txt for guideline when writing C test code.