mirror of
https://github.com/python/cpython.git
synced 2025-11-03 03:22:27 +00:00
my_fgets() now calls _PyOS_InterruptOccurred(tstate) to check for pending signals, rather calling PyOS_InterruptOccurred(). my_fgets() is called with the GIL released, whereas PyOS_InterruptOccurred() must be called with the GIL held. test_repl: use text=True and avoid SuppressCrashReport in test_multiline_string_parsing(). Fix my_fgets() on Windows: fgets(fp) does crash if fileno(fp) is closed. |
||
|---|---|---|
| .. | ||
| pegen | ||
| pgen | ||
| acceler.c | ||
| asdl.py | ||
| asdl_c.py | ||
| grammar1.c | ||
| listnode.c | ||
| myreadline.c | ||
| node.c | ||
| parser.c | ||
| parser.h | ||
| parsetok.c | ||
| Python.asdl | ||
| token.c | ||
| tokenizer.c | ||
| tokenizer.h | ||