-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Insights: python/mypy
Overview
Could not load contribution data
Please try again later
34 Pull requests merged by 10 people
-
[mypyc] Use native integers for some sequence indexing operations
#19426 merged
Jul 11, 2025 -
[mypyc] Remove the unused CPyList_GetItemUnsafe primitive
#19424 merged
Jul 11, 2025 -
[mypyc] Add a few native int helper irbuilder methods
#19423 merged
Jul 11, 2025 -
Allow adjacent conditionally-defined overloads
#19042 merged
Jul 11, 2025 -
[mypyc] Add back test for next with list iterator
#19419 merged
Jul 11, 2025 -
[mypyc] Fail run test if default driver does not find test cases
#19420 merged
Jul 11, 2025 -
Move
is_defined_in_stub
to shared checker API to break import cycle#19417 merged
Jul 10, 2025 -
[mypyc] Fix exception swallowing in async try/finally blocks with await
#19353 merged
Jul 10, 2025 -
[mypyc] Use PyList_Check for isinstance(obj, list)
#19416 merged
Jul 9, 2025 -
Infer empty list without annotation for
__slots__
and module__all__
#19348 merged
Jul 9, 2025 -
Support
_value_
as a fallback for ellipsis Enum members#19352 merged
Jul 9, 2025 -
More shards for
mypy-primer
#19405 merged
Jul 9, 2025 -
[mypyc] Speed up for loop over native generator
#19415 merged
Jul 9, 2025 -
feat: add helpful info to internal AssertionError excs
#19404 merged
Jul 9, 2025 -
[mypyc] Report error on reserved method name
#19407 merged
Jul 9, 2025 -
[mypyc] Add is_bool_or_bit_rprimitive
#19406 merged
Jul 9, 2025 -
[mypyc] Add faster primitive for string equality
#19402 merged
Jul 9, 2025 -
[mypyc] Speed up native-to-native calls using await
#19398 merged
Jul 8, 2025 -
[mypyc] Add tests for string equality
#19401 merged
Jul 8, 2025 -
[mypyc] Raise NameError on undefined names
#19395 merged
Jul 8, 2025 -
[mypyc] Simplify comparison of tuple elements
#19396 merged
Jul 8, 2025 -
perf: add
__slots__
toSubtypeVisitor
#19394 merged
Jul 7, 2025 -
Improve the support for promotions inside unions.
#19245 merged
Jul 7, 2025 -
[mypyc] Use per-type free "lists" for nested functions
#19390 merged
Jul 7, 2025 -
[mypyc] Call generator helper method directly in await expression
#19376 merged
Jul 7, 2025 -
[mypyc] Generate introspection signatures for compiled functions
#19307 merged
Jul 7, 2025 -
[mypyc] Add support for C string literals in the IR
#19383 merged
Jul 7, 2025 -
[mypyc] Fix error value check for GetAttr that allows nullable values
#19378 merged
Jul 7, 2025 -
Check property decorators stricter
#19313 merged
Jul 7, 2025 -
Remove all nested imports from default plugin
#19388 merged
Jul 7, 2025 -
Combine the revealed types of multiple iteration steps in a more robust manner.
#19324 merged
Jul 7, 2025 -
Speed up the default plugin
#19385 merged
Jul 7, 2025 -
Lessen dmypy suggest path limitations for Windows machines
#19337 merged
Jul 7, 2025 -
Subtype checking micro-optimization
#19384 merged
Jul 6, 2025
9 Pull requests opened by 5 people
-
Feature: Clear type info on del for local inferred variables (fixes #10005)
#19386 opened
Jul 6, 2025 -
[pre-commit.ci] pre-commit autoupdate
#19393 opened
Jul 7, 2025 -
Draft: Solve intermediate variable bug
#19399 opened
Jul 8, 2025 -
perf: return from `is_subtype` early
#19400 opened
Jul 8, 2025 -
perf: try to cache inner contexts of overloads
#19408 opened
Jul 8, 2025 -
Remove duplicated constraints before solving and deduplicate `fast_container_type` items
#19409 opened
Jul 8, 2025 -
Support attribute access on enum members correctly
#19422 opened
Jul 11, 2025 -
(WIP) Update changelog for 1.17 release
#19427 opened
Jul 11, 2025 -
Fix "ignored exception in `hasattr`" in dmypy
#19428 opened
Jul 11, 2025
16 Issues closed by 7 people
-
Match on tuples and possibly-undefined
#19391 closed
Jul 11, 2025 -
TYPE_CHECKING overload with implementation just outside flags second usage, but not first
#19015 closed
Jul 11, 2025 -
Errors when merging consecutive leading-indented (?) overload statements
#17521 closed
Jul 11, 2025 -
False-positive "Non-overlapping equality check" comparing `Enum`s `self` to members
#17317 closed
Jul 11, 2025 -
`array` generic changes type in isinstance check
#19421 closed
Jul 10, 2025 -
dmypy: error: unrecognized arguments: --config-file pyproject.toml
#17624 closed
Jul 10, 2025 -
RuntimeError: Not implemented mypy.types.TypeGuardedType
#19412 closed
Jul 10, 2025 -
Mypy complains about empty __all__ being untyped
#10103 closed
Jul 9, 2025 -
Mypy complains when `[]` is used for `__slots__` definition
#10870 closed
Jul 9, 2025 -
Enum types are incorrectly inferred
#19334 closed
Jul 9, 2025 -
False positive `unreachable` when variable is set and reset inside loop
#14987 closed
Jul 7, 2025 -
False negative on `setter` field of undefined variable
#19312 closed
Jul 7, 2025 -
Mypy daemon suggest does not accept windows paths
#19335 closed
Jul 7, 2025 -
[mypyc] AssertionError in get_seuqnce_type on `ois.uname`
#12141 closed
Jul 6, 2025 -
(🐞) `unused-ignore` doesn't activate on disabled error codes
#16537 closed
Jul 6, 2025 -
bound type-var error is undetected inside return statement
#16621 closed
Jul 6, 2025
11 Issues opened by 10 people
-
Walrus narrowing not propagated from inside expression
#19430 opened
Jul 12, 2025 -
Mypy configuration is incomplete
#19429 opened
Jul 12, 2025 -
AssertionError raised after #19248
#19425 opened
Jul 11, 2025 -
Type of an Enum nonmember is wrong when accessed through a member
#19418 opened
Jul 10, 2025 -
`NamedTuple`'s `_tuplegetter` is not recognized
#19414 opened
Jul 9, 2025 -
Unsupported operand types for + ("list[None]" and "list[str]")
#19413 opened
Jul 9, 2025 -
Detect missing or incorrect overload defaults
#19411 opened
Jul 9, 2025 -
[CI]: `mypy-primer(0)` timeout due to long checking of `colour`
#19403 opened
Jul 8, 2025 -
Erroneous "Self argument missing" error when decorators are used
#19392 opened
Jul 7, 2025 -
Packaging: license declaration uses outdated format to-be removed Feb. 18, 2026
#19389 opened
Jul 7, 2025
30 Unresolved conversations
Sometimes conversations happen on old items that aren’t yet closed. Here is a list of all the Issues and Pull Requests with unresolved conversations.
-
Add support for Pydantic models in `stubgen`
#19095 commented on
Jul 8, 2025 • 2 new comments -
Fix `Enum.value` inference for `Enum`s with `@cache`d methods
#19374 commented on
Jul 11, 2025 • 1 new comment -
Try to fix problems caused by in-place modification of typevar defaults
#19382 commented on
Jul 6, 2025 • 0 new comments -
[mypyc] Implement `str.lower()` and `str.upper()` primitive
#19375 commented on
Jul 7, 2025 • 0 new comments -
Do not display import-related errors after module-level always false assert
#19347 commented on
Jul 12, 2025 • 0 new comments -
Adds positional and kwarg only symbols into generated stubs
#19340 commented on
Jul 13, 2025 • 0 new comments -
feat: new mypyc primitive for weakref.ref
#19099 commented on
Jul 9, 2025 • 0 new comments -
stubtest: handle overloads with mixed pos-only params
#18287 commented on
Jul 9, 2025 • 0 new comments -
stubtest: get better signatures for `__init__` of C classes
#18259 commented on
Jul 9, 2025 • 0 new comments -
More detailed checking of type objects in stubtest
#18251 commented on
Jul 9, 2025 • 0 new comments -
[question] How do I ask a question?
#12426 commented on
Jul 12, 2025 • 0 new comments -
Should `*args` narrow in type guards?
#14273 commented on
Jul 12, 2025 • 0 new comments -
Type narrowing in while loop
#14807 commented on
Jul 12, 2025 • 0 new comments -
1.17 Release Planning
#19306 commented on
Jul 11, 2025 • 0 new comments -
Checking elements of a `list[str | None]` after discarding the possibility of `None`
#16243 commented on
Jul 11, 2025 • 0 new comments -
mypy website
#16553 commented on
Jul 11, 2025 • 0 new comments -
TypeForm[T]: Spelling for regular types (int, str) & special forms (Union[int, str], Literal['foo'], etc)
#9773 commented on
Jul 10, 2025 • 0 new comments -
Daemon support for --follow-imports=silent
#9475 commented on
Jul 10, 2025 • 0 new comments -
(🐞) false negative with `dataclass` "non-default argument follows default argument"
#12137 commented on
Jul 10, 2025 • 0 new comments -
Add --soft-fail option to capture Mypy output without blocking CI
#18859 commented on
Jul 10, 2025 • 0 new comments -
(🐞) `overload`s that exhaust finite `Literal`s(`bool`/`Enum`) not treated as exhaustive
#14764 commented on
Jul 10, 2025 • 0 new comments -
Odd error message for invalid use of tuple(): expected "Iterable[Never]"
#19098 commented on
Jul 9, 2025 • 0 new comments -
Mypy doesn't object to `cached_property` methods that don't exist
#18327 commented on
Jul 8, 2025 • 0 new comments -
Add "<function> defined here" notes to more errors
#4773 commented on
Jul 8, 2025 • 0 new comments -
erroneous complaint that overloaded function implementation does not accept all possible arguments of signature
#18596 commented on
Jul 8, 2025 • 0 new comments -
'Subclass of "A" and "B" cannot exist: would have incompatible method signatures' is usually wrong
#19377 commented on
Jul 8, 2025 • 0 new comments -
Infer `python_version` from `project.requires-python` when using pyproject.toml
#19349 commented on
Jul 7, 2025 • 0 new comments -
stubtest nit: arguments vs. parameters
#16508 commented on
Jul 7, 2025 • 0 new comments -
‘CPyModule__ctypes’ undeclared
#16687 commented on
Jul 6, 2025 • 0 new comments -
overload, Protocol and generic self: annotations
#19381 commented on
Jul 6, 2025 • 0 new comments