Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-125666: Avoid PyREPL exiting when a null byte is in input (#125732) | devdanzin | 2024-10-27 | 1 | -0/+5 |
| | |||||
* | gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097) | Victor Stinner | 2024-10-08 | 1 | -0/+12 |
| | | | | | | | If the PYTHON_BASIC_REPL environment variable is set, the site module no longer imports the _pyrepl module. Moreover, the site module now respects -E and -I command line options: ignore PYTHON_BASIC_REPL in this case. | ||||
* | gh-119180: No longer set `__annotations__` in `__main__` (#124634) | Jelle Zijlstra | 2024-09-27 | 1 | -1/+1 |
| | |||||
* | gh-123856: Fix PyREPL failure when a keyboard interrupt is triggered after ↵ | Emily Morehouse | 2024-09-25 | 1 | -85/+107 |
| | | | | | using a history search (#124396) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-119310: Fix encoding when reading old history file (#121779) | aorcajo | 2024-09-06 | 1 | -0/+45 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-119034, REPL: Change page up/down keys to search in history (#123607) | Victor Stinner | 2024-09-06 | 1 | -0/+39 |
| | | | | | | Change <page up> and <page down> keys of the Python REPL to history search forward/backward. Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-111201: fix auto-indent in pyrepl for muliple pound comments (#123196) | Arnon Yaari | 2024-09-06 | 1 | -0/+18 |
| | |||||
* | gh-123228: don't leak file descriptors in pyrepl test (#123302) | CF Bolz-Tereick | 2024-08-25 | 1 | -1/+1 |
| | |||||
* | gh-123228: fix return type for _ReadlineWrapper.get_line_buffer() (#123281) | Sergey B Kirpichev | 2024-08-24 | 1 | -1/+7 |
| | | | Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de> | ||||
* | gh-122546: Relax SyntaxError check when raising errors on the new REPL (#123233) | Sergey B Kirpichev | 2024-08-22 | 1 | -0/+4 |
| | |||||
* | gh-122546: use same filename for different exceptions in new repl (#123217) | Sergey B Kirpichev | 2024-08-22 | 1 | -0/+10 |
| | | | | | * gh-122546: use same filename for different exceptions in new repl * +1 | ||||
* | gh-82378 fix sys.tracebacklimit in pyrepl, approach 2 (#123062) | CF Bolz-Tereick | 2024-08-18 | 1 | -1/+33 |
| | | | | Make sure that pyrepl uses the same logic for sys.tracebacklimit as both the basic repl and the standard sys.excepthook | ||||
* | gh-87320: In the code module, handle exceptions raised in sys.excepthook ↵ | CF Bolz-Tereick | 2024-07-31 | 1 | -0/+24 |
| | | | | | | | (GH-122456) Before, the exception caused by calling non-default sys.excepthook in code.InteractiveInterpreter bubbled up to the caller, ending the REPL. | ||||
* | gh-121973: Fix flaky test_pyrepl tests (GH-122140) | Sam Gross | 2024-07-23 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | This fixes the flakiness in: * test_inspect_keeps_globals_from_inspected_file * test_inspect_keeps_globals_from_inspected_module The output already includes newlines. Adding newlines for every entry in the output list introduces non-determinism because it added '\n' in places where stdout is flushed or some buffer becomes full. The regex also needed to be updated because pyrepl includes control characters -- the visible output on each line doesn't immediately follow a newline character. Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-121988: Fix test hang when pyrepl is not available (#121990) | Sam Gross | 2024-07-20 | 1 | -1/+5 |
| | | | | Also explicitly fail the test if we timeout while waiting for output so that this failure mode is caught earlier. | ||||
* | gh-120678: Guard against stdin.fileno() being unavailable (#121924) | Łukasz Langa | 2024-07-17 | 1 | -6/+14 |
| | |||||
* | gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904) | Alex Waygood | 2024-07-17 | 1 | -8/+106 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-121605: Fix test hang when pyrepl is not available (GH-121820) | Sam Gross | 2024-07-15 | 1 | -1/+1 |
| | | | | The fallback repl does not support "exit" without parentheses, so the test would hang until the timeout expired. | ||||
* | gh-121359: make clean environment (no PYTHON* vars) for test_pyrepl.TestMain ↵ | Sergey B Kirpichev | 2024-07-15 | 1 | -0/+13 |
| | | | | | (GH-121672) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-121605: Increase timeout in test_pyrepl.run_repl (#121606) | Sam Gross | 2024-07-13 | 1 | -5/+8 |
| | | | | We also need to close the `slave_fd` earlier so that reading from `master_fd` won't block forever when the subprocess finishes. | ||||
* | gh-121499: Fix multi-line history rendering in the REPL (#121531) | Pablo Galindo Salgado | 2024-07-13 | 1 | -0/+39 |
| | | | Signed-off-by: Pablo Galindo <pablogsal@gmail.com> | ||||
* | gh-121351: Skip test_not_wiping_history_file() if no readline (#121422) | Sergey B Kirpichev | 2024-07-06 | 1 | -0/+4 |
| | |||||
* | gh-121359: Run test_pyrepl in isolated mode (#121414) | Victor Stinner | 2024-07-05 | 1 | -1/+4 |
| | | | | run_repl() now pass the -I option (isolated mode) to Python if the 'env' parameter is not set. | ||||
* | gh-121245: a regression test for site.register_readline() (#121259) | Sergey B Kirpichev | 2024-07-03 | 1 | -0/+27 |
| | |||||
* | gh-118908: Use __main__ for the default PyREPL namespace (#121054) | Łukasz Langa | 2024-06-26 | 1 | -6/+17 |
| | |||||
* | gh-121016: Add test for `PYTHON_BASIC_REPL` envioronment variable (#121017) | devdanzin | 2024-06-26 | 1 | -0/+25 |
| | |||||
* | gh-120635: Avoid leaking processes in test_pyrepl (#120676) | Victor Stinner | 2024-06-19 | 1 | -1/+1 |
| | | | | | If the child process takes longer than SHORT_TIMEOUT seconds to complete, kill the process but then wait until it completes with no timeout to not leak child processes. | ||||
* | gh-118908: Protect the REPL subprocess with a timeout in tests (#120408) | Pablo Galindo Salgado | 2024-06-12 | 1 | -1/+6 |
| | |||||
* | gh-118908: Limit exposed globals from internal imports and definitions on ↵ | Eugene Triguba | 2024-06-11 | 1 | -2/+61 |
| | | | | new REPL startup (#119547) | ||||
* | gh-111201: Improve pyrepl auto indentation (#119606) | Arnon Yaari | 2024-05-31 | 1 | -1/+80 |
| | | | | - auto-indent when editing multi-line block - ignore comments | ||||
* | gh-111201: Support pyrepl on Windows (#119559) | Dino Viehland | 2024-05-31 | 1 | -2/+3 |
| | | | | Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-118911: Trailing whitespace in a block shouldn't prevent the user from ↵ | Aya Elsayed | 2024-05-22 | 1 | -5/+14 |
| | | | | | terminating the code block (#119355) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-111201: Speed up paste mode in the REPL (#119341) | Pablo Galindo Salgado | 2024-05-22 | 1 | -1/+1 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-111201: auto-indentation in _pyrepl (#119348) | Arnon Yaari | 2024-05-22 | 1 | -55/+139 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-119205: Fix autocompletion bug in new repl (#119229) | Koudai Aono | 2024-05-21 | 1 | -6/+24 |
| | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||||
* | gh-119306: Break up _pyrepl tests (#119307) | Eugene Triguba | 2024-05-21 | 1 | -0/+639 |