-
-
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
25 Pull requests merged by 7 people
-
Updates to 1.17 changelog
#19436 merged
Jul 14, 2025 -
Initial changelog for 1.17 release
#19427 merged
Jul 14, 2025 -
[mypyc] Simplify IR generated for "for" loops over strings
#19434 merged
Jul 14, 2025 -
[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
10 Pull requests opened by 6 people
-
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 -
Fix "ignored exception in `hasattr`" in dmypy
#19428 opened
Jul 11, 2025 -
feat(overloads): Expand finite sum types into a union of possible types
#19431 opened
Jul 13, 2025 -
Add functools.lru_cache plugin support Fixes #16261
#19432 opened
Jul 13, 2025 -
[mypyc] Add primitives for isinstance of built-in types
#19435 opened
Jul 14, 2025 -
[mypyc] Add SetElement op for initializing struct values
#19437 opened
Jul 14, 2025
13 Issues closed by 8 people
-
isinstance(..., (..., Any)) causes 'statement is unreachable'
#10547 closed
Jul 14, 2025 -
mypy does not type check arguments to `Annotated`
#19438 closed
Jul 14, 2025 -
Unsupported operand types for + ("list[None]" and "list[str]")
#19413 closed
Jul 14, 2025 -
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
10 Issues opened by 9 people
-
[PEP 695] Incorrect Variance Computation with Polymorphic Constructor.
#19439 opened
Jul 14, 2025 -
`func-returns-value` false positive for union type?
#19433 opened
Jul 13, 2025 -
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 -
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
39 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.
-
Feature: Clear type info on del for local inferred variables (fixes #10005)
#19386 commented on
Jul 11, 2025 • 4 new comments -
Fix `Enum.value` inference for `Enum`s with `@cache`d methods
#19374 commented on
Jul 14, 2025 • 3 new comments -
Add support for Pydantic models in `stubgen`
#19095 commented on
Jul 8, 2025 • 2 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 -
ParamSpec seems to get lost with partial()
#18589 commented on
Jul 14, 2025 • 0 new comments -
error message: move star prefix to Argument
#13146 commented on
Jul 14, 2025 • 0 new comments -
Fix `[func-returns-value]` not being trigged when calling decorated functions
#18015 commented on
Jul 13, 2025 • 0 new comments -
More detailed checking of type objects in stubtest
#18251 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 -
stubtest: handle overloads with mixed pos-only params
#18287 commented on
Jul 9, 2025 • 0 new comments -
Introduce temporary named expressions for `match` subjects
#18446 commented on
Jul 14, 2025 • 0 new comments -
Consider property access from class objects (now for real)
#18969 commented on
Jul 14, 2025 • 0 new comments -
feat(mypyc): proper weakref support
#19056 commented on
Jul 14, 2025 • 0 new comments -
feat: new mypyc primitive for weakref.ref
#19099 commented on
Jul 14, 2025 • 0 new comments -
WIP: new mypyc primitive for `weakref.ref.__call__`
#19145 commented on
Jul 14, 2025 • 0 new comments -
Handle `__hash__ = None` in somewhat more intuitive fashion
#19168 commented on
Jul 14, 2025 • 0 new comments -
feat: new mypyc primitives for weakref.proxy
#19217 commented on
Jul 14, 2025 • 0 new comments -
Check slots assignments on self types
#19332 commented on
Jul 14, 2025 • 0 new comments -
Adds positional and kwarg only symbols into generated stubs
#19340 commented on
Jul 13, 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 -
erroneous complaint that overloaded function implementation does not accept all possible arguments of signature
#18596 commented on
Jul 8, 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 -
Odd error message for invalid use of tuple(): expected "Iterable[Never]"
#19098 commented on
Jul 9, 2025 • 0 new comments -
Add --soft-fail option to capture Mypy output without blocking CI
#18859 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 -
Daemon support for --follow-imports=silent
#9475 commented on
Jul 10, 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 -
mypy website
#16553 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 -
Erroneous "Self argument missing" error when decorators are used
#19392 commented on
Jul 11, 2025 • 0 new comments -
Type narrowing in while loop
#14807 commented on
Jul 12, 2025 • 0 new comments -
Should `*args` narrow in type guards?
#14273 commented on
Jul 12, 2025 • 0 new comments -
[question] How do I ask a question?
#12426 commented on
Jul 12, 2025 • 0 new comments -
(🐞) `overload`s that exhaust finite `Literal`s(`bool`/`Enum`) not treated as exhaustive
#14764 commented on
Jul 13, 2025 • 0 new comments -
Inconsistency for `[func-returns-value]`: Error not reported for `staticmethod`s
#14179 commented on
Jul 13, 2025 • 0 new comments -
Add "<function> defined here" notes to more errors
#4773 commented on
Jul 14, 2025 • 0 new comments -
Incompatible types when calling generinc `__init__` from generic `@classmethod`
#17937 commented on
Jul 14, 2025 • 0 new comments -
1.17 Release Planning
#19306 commented on
Jul 14, 2025 • 0 new comments -
ABCMeta.register support
#2922 commented on
Jul 14, 2025 • 0 new comments