Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | gh-130999: Avoid exiting the new REPL when there are non-string candidates ↵ | devdanzin | 7 days |
| | | | | for suggestions (gh-131001) | ||
* | gh-69605: Disable PyREPL module autocomplete fallback on regular completion ↵ | Loïc Simon | 2025-05-26 |
| | | | | | | (gh-134181) Co-authored-by: Loïc Simon <loic.simon@napta.io> | ||
* | GH-130328: Fix WindowsConsoleGetEventTests after gh-133728 (gh-134660) | Chris Eibl | 2025-05-25 |
| | |||
* | GH-130328: Speedup pasting in legacy console on Windows (gh-133728) | Chris Eibl | 2025-05-25 |
| | |||
* | gh-127960 Fix the REPL to set the correct namespace by setting the correct ↵ | Yuichiro Tachibana (Tsuchiya) | 2025-05-22 |
| | | | | | | | | `__main__` module (gh-134275) The `__main__` module imported in the `_pyrepl` module points to the `_pyrepl` module itself when the interpreter was launched without `-m` option and didn't execute a module, while it's an unexpected behavior that `__main__` can be `_pyrepl` and relative imports such as `from . import *` works based on the `_pyrepl` module. Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||
* | gh-134215: PyREPL: Do not show underscored modules by default during ↵ | Kevin Hernández | 2025-05-20 |
| | | | | | | | autocompletion (gh-134267) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Tomas R. <tomas.roun8@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||
* | gh-134235: Import Autocomplete for Builtin Modules (GH-134277) | Tom Wang | 2025-05-19 |
| | | | | | | | * added enhancement auto completing import with sys builtins --------- Co-authored-by: Hunter <hyoung3@gmail.com> | ||
* | gh-134214: Fix test case in pyrepl (gh-134223) | Jessica Temporal | 2025-05-19 |
| | |||
* | gh-134158: Fix PyREPL coloring of double braces in f/t-strings (gh-134159) | Loïc Simon | 2025-05-19 |
| | | | | | Co-authored-by: Loïc Simon <loic.simon@napta.io> Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||
* | gh-134097: Print number of refs & blocks after each statement in new REPL ↵ | Kirill Podoprigora | 2025-05-19 |
| | | | | | (gh-134136) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||
* | gh-133379: Fix misuse of the term "arguments" in error messages (GH-133382) | Stan Ulbrych | 2025-05-10 |
| | | | The right term is "parameters". | ||
* | gh-133541: Handle SyntaxError raised by the tokenizer on user input (#133606) | Łukasz Langa | 2025-05-08 |
| | |||
* | gh-133639: Fix `test_auto_indent_default()` doesn't run `input_code` (#133640) | Tan Long | 2025-05-08 |
| | |||
* | gh-133346: Make theming support in _colorize extensible (GH-133347) | Łukasz Langa | 2025-05-05 |
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||
* | GH-132439: Fix REPL swallowing characters entered with AltGr on cmd.exe ↵ | Chris Eibl | 2025-05-05 |
| | | | | | (GH-132440) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> | ||
* | gh-131878: Fix input of unicode characters with two or more code points in ↵ | Sergey Miryanov | 2025-05-05 |
| | | | | | | new pyrepl on Windows (gh-131901) Co-authored-by: Tomas R. <tomas.roun8@gmail.com> Co-authored-by: Chris Eibl <138194463+chris-eibl@users.noreply.github.com> | ||
* | gh-131507: Add support for syntax highlighting in PyREPL (GH-133247) | Łukasz Langa | 2025-05-02 |
| | | | | Co-authored-by: Victorien <65306057+Viicos@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||
* | gh-133054: Skip `test_pyrepl` tests when `cannot use pyrepl` is reported ↵ | sobolevn | 2025-04-28 |
| | | | | | (#133055) Co-authored-by: Tomas R. <tomas.roun8@gmail.com> | ||
* | gh-127495: Append to history file after every statement in PyREPL (GH-132294) | Sergey B Kirpichev | 2025-04-27 |
| | |||
* | gh-69605: Add module autocomplete to PyREPL (#129329) | Tomas R. | 2025-04-25 |
| | |||
* | gh-129098: avoid using content of `_pyrepl/__main__.py` when reporting ↵ | Bénédikt Tran | 2025-04-20 |
| | | | | tracebacks (#130721) | ||
* | speedup test_pyrepl (#132688) | Chris Eibl | 2025-04-19 |
| | | | speedup test_unix_console.py and test_windows_console.py | ||
* | gh-131927: Prevent emitting optimizer warnings twice in the REPL (#131993) | Tomas R. | 2025-04-12 |
| | |||
* | gh-117174: Adapt `test_multiple_statements_fail_early` to new REPL behavior ↵ | Bartosz Sławecki | 2025-03-28 |
| | | | | | (follow-up gh-131065) (#131836) Adapt test to new REPL behavior (follow-up gh-117174) | ||
* | gh-131507: Clean up tests and type checking for `_pyrepl` (#131509) | Łukasz Langa | 2025-03-21 |
| | |||
* | Fix test_pyrepl.TestDumbTerminal if PYTHON_BASIC_REPL set. (#131332) | R. David Murray | 2025-03-17 |
| | | | | Most of the tests that care already adjust PYTHON_BASIC_REPL as needed, but this one doesn't, and it fails if the developer has the variable set. | ||
* | gh-131152: Remove unused imports from tests (part 2) (#131154) | Victor Stinner | 2025-03-13 |
| | |||
* | gh-130804: Fix support of typing unicode chars in pyrepl (#130805) | Sergey Miryanov | 2025-03-10 |
| | |||
* | gh-124927: Fix conversion issue between coordinates and position in REPL ↵ | FeH2 | 2025-03-10 |
| | | | | (#125001) | ||
* | gh-128231: Use `runcode()` return value for failing early (GH-129488) | Bartosz Sławecki | 2025-02-24 |
| | |||
* | gh-124096: Enable REPL virtual terminal support on Windows (#124119) | Y5 | 2025-02-23 |
| | | | | | | | | | | | | | | | To support virtual terminal mode in Windows PYREPL, we need a scanner to read over the supported escaped VT sequences. Windows REPL input was using virtual key mode, which does not support terminal escape sequences. This patch calls `SetConsoleMode` properly when initializing and send sequences to enable bracketed-paste modes to support verbatim copy-and-paste. Signed-off-by: y5c4l3 <y5c4l3@proton.me> Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Dustin L. Howett <dustin@howett.net> Co-authored-by: wheeheee <104880306+wheeheee@users.noreply.github.com> | ||
* | gh-126332: Add tests for _pyrepl.utils (#129325) | Pieter Eendebak | 2025-02-21 |
| | |||
* | Replace non-breaking spaces with normal spaces (#130116) | AN Long | 2025-02-16 |
| | | | Using normal spaces in place of non-breaking spaces. | ||
* | gh-127349: Add check for correct resizing in REPL (#127387) | donBarbos | 2025-01-30 |
| | |||
* | gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an ↵ | Tomas R. | 2025-01-22 |
| | | | | invalid value (#128653) | ||
* | gh-128770: fix ResourceWarning in test_pyrepl (#128906) | Thomas Grainger | 2025-01-22 |
| | |||
* | gh-118878: Pyrepl: show completions menu below the current line (#118939) | Daniel Hollas | 2025-01-21 |
| | | | Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> | ||
* | gh-123024: Correctly prepare/restore around help and show-history commands ↵ | Lysandros Nikolaou | 2025-01-21 |
| | | | | | | (#124485) Co-authored-by: Emily Morehouse <emily@cuttlesoft.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> | ||
* | gh-126332: Fix pyrepl crash for double ctrl-z in line overflow (#126650) | Pieter Eendebak | 2025-01-21 |
| | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||
* | gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars ↵ | Hugo van Kemenade | 2025-01-21 |
| | | | | (#127877) | ||
* | Revert "gh-128770: raise warnings as errors in test suite - except for ↵ | Hugo van Kemenade | 2025-01-17 |
| | | | | test_socket which still logs warnings (#128726)" (#128936) | ||
* | gh-128770: raise warnings as errors in test suite - except for test_socket ↵ | Thomas Grainger | 2025-01-17 |
| | | | | | | | which still logs warnings (#128726) Co-authored-by: sobolevn <mail@sobolevn.me> Co-authored-by: Brett Cannon <brett@python.org> | ||
* | gh-125666: Avoid PyREPL exiting when a null byte is in input (#125732) | devdanzin | 2024-10-27 |
| | |||
* | gh-124960: Fixed `barry_as_FLUFL` future flag does not work in new REPL ↵ | Wulian | 2024-10-14 |
| | | | | | | (#124999) Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||
* | gh-125096: Don't import _pyrepl in site if PYTHON_BASIC_REPL (#125097) | Victor Stinner | 2024-10-08 |
| | | | | | | | 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 |
| | |||
* | gh-123856: Fix PyREPL failure when a keyboard interrupt is triggered after ↵ | Emily Morehouse | 2024-09-25 |
| | | | | | using a history search (#124396) Co-authored-by: Łukasz Langa <lukasz@langa.pl> | ||
* | gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795) | Łukasz Langa | 2024-09-06 |
| | | | | | | | | | This switches the main pyrepl event loop to always be non-blocking so that it can listen to incoming interruptions from other threads. This also resolves invalid display of exceptions from other threads (gh-123178). This also fixes freezes with pasting and an active input hook. | ||
* | gh-119310: Fix encoding when reading old history file (#121779) | aorcajo | 2024-09-06 |
| | | | 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 |
| | | | | | | Change <page up> and <page down> keys of the Python REPL to history search forward/backward. Co-authored-by: Łukasz Langa <lukasz@langa.pl> |