8000 [3.13] Bump mypy to 1.16.1 (GH-135720) by hugovk · Pull Request #135849 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.13] Bump mypy to 1.16.1 (GH-135720) #135849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Lib/_pyrepl/base_eventqueue.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def push(self, char: int | bytes) -> None:
if isinstance(k, dict):
self.keymap = k
else:
self.insert(Event('key', k, self.flush_buf()))
self.insert(Event('key', k, bytes(self.flush_buf())))
self.keymap = self.compiled_keymap

elif self.buf and self.buf[0] == 27: # escape
Expand All @@ -96,7 +96,7 @@ def push(self, char: int | bytes) -> None:
# the docstring in keymap.py
trace('unrecognized escape sequence, propagating...')
self.keymap = self.compiled_keymap
self.insert(Event('key', '\033', bytearray(b'\033')))
self.insert(Event('key', '\033', b'\033'))
for _c in self.flush_buf()[1:]:
self.push(_c)

Expand All @@ -106,5 +106,5 @@ def push(self, char: int | bytes) -> None:
except UnicodeError:
return
else:
self.insert(Event('key', decoded, self.flush_buf()))
self.insert(Event('key', decoded, bytes(self.flush_buf())))
self.keymap = self.compiled_keymap
6 changes: 3 additions & 3 deletions Tools/requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Requirements file for external linters and checks we run on
# Tools/clinic, Tools/cases_generator/, and Tools/peg_generator/ in CI
mypy==1.15
mypy==1.16.1

# needed for peg_generator:
types-psutil==5.9.5.20240423
types-setuptools==69.5.0.20240423
types-psutil==7.0.0.20250601
types-setuptools==80.9.0.20250529
Loading
0