Skip to content

Commit ec60bda

Browse files
authored
Update pdb.py to 3.14.5 (RustPython#8070)
* Update `pdb.py` to 3.14.5 * Add `test_pdb.py` from 3.14.5 * Update `_pyrepl/types.py` * Update `_pyrepl/utils.py` * Mark failing tests * Mark failing tests
1 parent 4bc80c8 commit ec60bda

4 files changed

Lines changed: 7816 additions & 326 deletions

File tree

Lib/_pyrepl/types.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
from collections.abc import Callable, Iterator
22

3-
Callback = Callable[[], object]
4-
SimpleContextManager = Iterator[None]
5-
KeySpec = str # like r"\C-c"
6-
CommandName = str # like "interrupt"
7-
EventTuple = tuple[CommandName, str]
8-
Completer = Callable[[str, int], str | None]
3+
type Callback = Callable[[], object]
4+
type SimpleContextManager = Iterator[None]
5+
type KeySpec = str # like r"\C-c"
6+
type CommandName = str # like "interrupt"
7+
type EventTuple = tuple[CommandName, str]
8+
type Completer = Callable[[str, int], str | None]
9+
type CharBuffer = list[str]
10+
type CharWidths = list[int]

0 commit comments

Comments
 (0)