GitHub / python/mypy / commits
Optional static typing for Python
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| f8bf7ab5 | Memoize the options snapshot (#21354) |
Kevin Kannammalil <k****0@g****m>
Committed by: GitHub <n****y@g****m> |
2 days ago | |
| e0c375a9 | Support floats in JSON in fixed-format cache (#21603) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
5 days ago | |
| 5004eae4 |
Sync typeshed (#21507)
Co-authored-by: Shantanu <1****a@u****m>, Ivan Levkivskyi <l****i@g****m>, hauntsaninja <h****a@g****m>, AlexWaygood <a****d@g****m> |
Marc Mueller <3****p@u****m>
Committed by: GitHub <n****y@g****m> |
6 days ago | |
| e15a6d58 | [mypyc] Fix name lookup when class var and module var have the same name (#21... |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
10 days ago | |
| 28751e9c |
Optimize SCC scheduler `not_ready_deps` tracking (#21389)
Co-authored-by: Ivan Levkivskyi <l****i@g****m> |
Kevin Kannammalil <k****0@g****m>
Committed by: GitHub <n****y@g****m> |
10 days ago | |
| 5e7e91bc | Speed up transitive_dep_hash for singleton SCCs (#21390) |
Kevin Kannammalil <k****0@g****m>
Committed by: GitHub <n****y@g****m> |
10 days ago | |
| d69ab34a | Add support for TypeForm in incremental mode (#21591) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
10 days ago | |
| f779f77c | Add test for disabling syntax version checks in .pyi files (#21589) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
10 days ago | |
| 7c9097b9 | Update TypedDictType.__init__ signature to preserve backward compat (#21590) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
11 days ago | |
| fad733ff | Add Python version checks to native parser (#21539) |
Kevin Kannammalil <k****0@g****m>
Committed by: GitHub <n****y@g****m> |
11 days ago | |
| 84a20bdb | [mypyc] Specialize `s[i] == 'x'` to a codepoint int compare (#21579) |
Vaggelis Danias <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
11 days ago | |
| 52de0c73 | [mypyc] Preserve inherited attribute defaults under separate=True (#21547) |
Jo <4****s@u****m>
Committed by: GitHub <n****y@g****m> |
11 days ago | |
| bfa3b88e | [mypyc] Report file and line number on uncaught exceptions (#21584) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
11 days ago | |
| 363be141 | Fix crash on invalid recursive variadic alias (#21572) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
12 days ago | |
| cbd8c82b | Fix docs build (#21580) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
12 days ago | |
| 0ce09a17 | Implement support for closed TypedDicts (PEP 728) (#21382) |
Alice <a****n@g****m>
Committed by: GitHub <n****y@g****m> |
12 days ago | |
| 4c8f9944 | Fix constructor calls for union-bounded TypeVars (#21571) |
Jingchen Ye <1****1@u****m>
Committed by: GitHub <n****y@g****m> |
13 days ago | |
| cd75c4ec |
[mypyc] Use `other` arg instead of `self` for RHS type (#21569)
Co-authored-by: Piotr Sawicki <s****r@o****m> |
Ryan Heard <r****5@s****t>
Committed by: GitHub <n****y@g****m> |
13 days ago | |
| 70b74e1b | [mypyc] Use `method_sig` to get the method signature (#21567) |
Ryan Heard <r****5@s****t>
Committed by: GitHub <n****y@g****m> |
14 days ago | |
| 8f2d0f12 | [mypyc] Add `librt.strings.toupper` and `tolower` codepoint primitives (#21553) |
Vaggelis Danias <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
14 days ago | |
| f59f649b | Fix changelog for mypy 2.1 (#21565) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
16 days ago | |
| 49ccd26e | Fix crashes on variadic unpacking in synthetic types (#21555) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
16 days ago | |
| 94838b0f | Fix TypedDict indexing with literal keys in comprehensions (#21556) |
Jingchen Ye <1****1@u****m>
Committed by: GitHub <n****y@g****m> |
17 days ago | |
| c2fd9d33 | Fix crash on unhandled meet variadic tuple vs indtance (#21558) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
17 days ago | |
| 5f9371e7 | Fix crash on deferred generic class nested in function (#21557) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
17 days ago | |
| 1d6905a7 | Fix various bugs in TypeVarTuples with defaults (#21544) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
17 days ago | |
| 8f4c8405 | Fix crash in new-style type alias with variadic unpack (#21551) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
18 days ago | |
| 938dbe2f | Respect explicit return type of __new__() (#21441) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
19 days ago | |
| 668733de | Correctly handle empty tuple index when unpacked (#21545) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
19 days ago | |
| 965dd312 | [mypyc] Add `librt.strings.isidentifier` codepoint primitive (#21522) |
Vaggelis Danias <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
19 days ago | |
| 47ca4c24 | Fix various crashes on recursive type variable defaults (#21491) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
20 days ago | |
| 37ee4323 | Clean-up classes nested in functions (#21478) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
23 days ago | |
| 21e2859b | Support protocol checks for self-types in tuple types (#21535) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
24 days ago | |
| e61adeaa | [mypyc] Add test for incremental builtin_base class construction across group... |
Jo <4****s@u****m>
Committed by: GitHub <n****y@g****m> |
24 days ago | |
| 55ee0bd3 | Fix type variable defaults depending on previous variables (#21526) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
24 days ago | |
| cde4779e | [mypyc] Fix non-deterministic class struct layout under `separate=True` (#21530) |
Vaggelis Danias <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
24 days ago | |
| 6f0e77b8 |
Allow nativeparse to parse source code directly (#21260)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m>, Ivan Levkivskyi <l****i@g****m> |
bzoracler <5****r@u****m>
Committed by: GitHub <n****y@g****m> |
25 days ago | |
| ab8e4bf1 |
[mypyc] Fix missing cross-group header deps in incremental builds (#21490)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
Jo <4****s@u****m>
Committed by: GitHub <n****y@g****m> |
25 days ago | |
| a9d2d147 | [mypyc] Add `librt.strings.isalpha` codepoint primitive (#21521) |
Vaggelis Danias <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 9b96cbe2 | Fix edge cases in variadic tuple subclasses (#21518) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 3a969d1a |
Fix crash for empty Annotated type application (#21503)
Co-authored-by: cyphercodes <c****s@u****m>, pre-commit-ci[bot] <6****]@u****m> |
Rayan Salhab <r****b@a****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| b44b2ca7 | Special-case constructor for tuple types (#21502) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| d23f5f00 |
Fix false positive "Expected TypedDict key to be string literal" for Union[Ty...
Co-authored-by: Claude Agent <a****t@e****m> |
Zakir Jiwani <z****w@g****m>
Committed by: GitHub <n****y@g****m> |
26 days ago | |
| 5e0c2749 |
[mypyc] Fix cross-group call to inherited __mypyc_defaults_setup (#21481)
Co-authored-by: Claude Opus 4.7 (1M context) <n****y@a****m> |
Jo <4****s@u****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 739a6524 | [mypyc] Add `librt.strings.isalnum` codepoint primitive (#21509) |
Vaggelis Danias <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 93eff837 | Use explicit Never for type inference (#21497) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| d9f17fba | [mypyc] Add `librt.strings.isdigit` codepoint primitive (#21504) |
Vaggelis Danias <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
27 days ago | |
| 488a6469 | Bump ast-serialize to 0.5.0 (#21501) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 11008008 | [mypyc] Document free threading and other doc updates (#21494) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
29 days ago | |
| 1bbd6da6 | Describe our LLM stance in CONTRIBUTING.md (#21488) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e2717937 | Bump ast-serialize to 0.4.0 (#21487) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e159ee95 | Ignore num_workers in the daemon while it is not supported (#21483) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d7f70362 |
[mypyc] Add `librt.strings.isspace` char primitive (#21462)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
Vaggelis Danias <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 9b4e31c2 |
docs: fix duplicated word in overload docs (#21482)
Co-authored-by: Noa Levi <2****a@u****m> |
lphuc2250gma <l****0@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d2b02341 | Narrow membership in statically known containers (#21461) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| db331b44 | [mypyc] Fix reference leak in mypyc bytes concatenation (#21469) |
Colinxu2020 <6****0@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d62a508b | Fix crash on Unpack used without arguments in class bases (#21470) |
Sai Asish Y <s****5@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e53693be | Add changelog for mypy 2.1 (#21464) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 67cdcc37 | [mypyc] Document librt.random (#21463) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| a9008315 | Improve negative narrowing for membership checks on tuples (#21456) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| c0cced35 | typeform: remove a regex call, rearrange checks (#21459) |
Jelle Zijlstra <j****a@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 492c9aad | Bump librt version to 0.11.0 (#21458) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 82fb6130 | Fix formatting in `error_code_list2.rst` (#21457) |
sobolevn <m****l@s****e>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| b199f900 |
Analyse typeddict decorators (#21267)
Co-authored-by: hauntsaninja <h****a@g****m> |
Pranav Manglik <p****v@u****n>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 06e48a01 | (minor) Small simplifications in combine_function_signatures (#19196) |
Victor Letichevsky <1****y@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 010f0a2c | Fix nondeterminism from nonassociativity of overload joins (#21455) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 38b1bdfd |
Fix function call message change for small number of args (#21432)
Co-authored-by: hauntsaninja <h****a@g****m> |
sobolevn <m****l@s****e>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 2b5a84d5 | Update test requirements (#21448) |
Marc Mueller <3****p@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 971904db | Reorder librt Python.h includes (#21446) |
Marc Mueller <3****p@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| b74aae46 | Bump version to 2.2.0+dev (#21451) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 46acbe85 | Start testing Python 3.15 (#21439) |
Marc Mueller <3****p@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 284a6cc9 |
Respect file config comments for stale modules (#21444)
Co-authored-by: Adam Turner <t****r@h****m> |
Adam Turner <9****r@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| db297c5f | [mypyc] Enable incremental self-compilation (#21369) |
Vaggelis Danias <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 02d917d6 | [mypyc] Add librt.random module (#21433) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 675b6bfe | Fix broken refactor of awaitable generator patching (#21435) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 1804d87f |
Fix JSON output mode for syntax errors in parallel mode (#21434)
Co-authored-by: Adam Turner <t****r@h****m> |
Adam Turner <9****r@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 4e7ae36c |
[mypyc] Document librt.vecs (#21437)
Co-authored-by: Piotr Sawicki <s****r@o****m> |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d0b3fb3c | Fix type variable with values as a supertype (#21431) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 4e349a7c | [mypyc] Mark librt.vecs as non-experimental (#21430) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 3f0c355b | Fix crash on partial type, --allow-redefinition, and global declaration (#21428) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 1730c953 | [mypyc] Add API and ABI versioning to librt.vecs (#21429) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e80db52b | [mypyc] Make compilation order with multiple files consistent (#21419) |
Piotr Sawicki <s****r@o****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e7846d96 | [mypyc] Update vec value struct to have direct pointer to items (#21420) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 11f945b5 | Sync typeshed (#21232) |
github-actions[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 16823a17 | Changelog for mypy 2.0 (#21422) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| c9a8c748 | [mypyc] Add nested vec irbuild reference counting test (#21417) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 38abf693 | Bump librt to 0.10.0 (#21415) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| bb3e4979 | [mypyc] Fix crash on accessing StopAsyncIteration (#21406) |
Piotr Sawicki <s****r@o****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 472d0343 | Some changelog updates for 2.0 (#21413) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e95ea81a | Narrow match captures based on previous cases (#21405) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| b7a8bab4 | Fix negative narrowing for containers (#21411) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 0007c526 | Rely on typeshed/stubs for slice typing (#21401) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d091daa8 |
Add support for configuring `--num-workers` with a env variable (#21407)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
Kevin Kannammalil <k****0@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 0ea16df0 | Try fixing mypy mypyc wheels (#21392) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| dd851f55 | TypeForm: Enable by default (#21262) |
David Foster <d****d@d****t>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 77605631 | Expose --num-workers and --native-parser (#21387) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 9e2d061d | Bump ast-serialize cache version (#21388) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 0d118cc8 | Bump ast-serialize version to 0.3.0 only (#21391) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| eb0caa1f |
Respect JSON output mode for syntax errors (#21386)
Co-authored-by: Adam Turner <t****r@h****m> |
Adam Turner <9****r@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 485f523f | [mypyc] Add note about librt.strings thread safety (#21383) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 2 months ago |