GitHub / python/mypy / commits
Optional static typing for Python
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| d6d7295e | Allow ParamSpec in NamedTuple and TypedDict (#21044) |
A5rocks <g****t@h****e>
Committed by: GitHub <n****y@g****m> |
about 9 hours ago | |
| 7bafa9de | Avoid warning about unreachable things multiple times with `--check-unreachab... |
A5rocks <g****t@h****e>
Committed by: GitHub <n****y@g****m> |
about 10 hours ago | |
| 2d863837 | [mypyc] Inline tuple ops (#21828) |
dnwpark <d****k@p****m>
Committed by: GitHub <n****y@g****m> |
about 10 hours ago | |
| b4b8d741 | Improve sentinel narrowing (#21844) |
Marc Mueller <3****p@u****m>
Committed by: GitHub <n****y@g****m> |
1 day ago | |
| 6eb141f0 | Add a secret --check-unreachable (#21834) |
A5rocks <g****t@h****e>
Committed by: GitHub <n****y@g****m> |
2 days ago | |
| ed90eafe | [mypyc] Fix crash on double yielding Iterators (#21826) |
Daniël van Noord <1****d@u****m>
Committed by: GitHub <n****y@g****m> |
4 days ago | |
| 0221c801 | Fix crash when unpacking return value from overload (#21830) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
4 days ago | |
| 5bb72b78 |
Add support for PEP 661 (sentinels) (#21647)
Co-authored-by: Jelle Zijlstra <j****a@g****m> Signed-off-by: Edgar Ramírez Mondragón <e****8@g****m> |
Edgar Ramírez Mondragón <1****n@u****m>
Committed by: GitHub <n****y@g****m> |
7 days ago | |
| 14be7ab0 | [mypyc] Propagate property setter return value (#21814) |
Piotr Sawicki <s****r@o****m>
Committed by: GitHub <n****y@g****m> |
7 days ago | |
| 7ecf0520 | Bump library dependencies again (#21819) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
8 days ago | |
| 9105bb56 | Bump library dependencies (#21817) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
8 days ago | |
| 20a49fa2 | [mypyc] Fix `default_factory` for inherited dataclass (#21785) |
Daniël van Noord <1****d@u****m>
Committed by: GitHub <n****y@g****m> |
9 days ago | |
| d79a9e68 | [mypyc] Fix function wrapper descriptor for static/class methods (#21811) |
Piotr Sawicki <s****r@o****m>
Committed by: GitHub <n****y@g****m> |
9 days ago | |
| 82dd3af3 | [mypyc] Fix inconsistent vtable method prefix (#21812) |
Piotr Sawicki <s****r@o****m>
Committed by: GitHub <n****y@g****m> |
9 days ago | |
| f709fc1b |
Sync typeshed (#21799)
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> |
12 days ago | |
| 630b101f | Improve stubtest handling of expected dunder methods (#21764) |
Alex Waygood <A****d@G****m>
Committed by: GitHub <n****y@g****m> |
13 days ago | |
| 869d6ef8 | Update docs for modern setuptools (#21792) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
15 days ago | |
| 60fa82e5 | Fix strict optional with generic defaults (#21788) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
16 days ago | |
| 722047e3 |
Special case Task Groups and their special functions (#21766)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
A5rocks <g****t@h****e>
Committed by: GitHub <n****y@g****m> |
21 days ago | |
| ff541157 | Use mypy team instead of PSRT (#21772) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
21 days ago | |
| 0e3b5dbc | Add SECURITY.md (#21771) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
21 days ago | |
| 3d657d66 | [mypyc] Record MRO ancestor modules as deps of subclass-defining modules (#21... |
Giorgos Michas <g****6@g****m>
Committed by: GitHub <n****y@g****m> |
25 days ago | |
| d17b99ed |
Sync typeshed (#21738)
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> |
28 days ago | |
| 2601fb79 | [mypyc] Clear coroutine env on coroutine completion (#21734) |
Piotr Sawicki <s****r@o****m>
Committed by: GitHub <n****y@g****m> |
28 days ago | |
| 67eecf07 | Fix another variance issue with `__replace__` (#21737) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 82e8498c | [mypyc] Fix memory leak in `Exception` subclasses with instance attributes (#... |
Vaggelis Danias <d****s@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 2e6c87e9 | Changelog entry for macOS x86 wheels (#21715) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 40b75e09 | Update changelog for 2.3 release (#21728) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 7ec7d362 | Bump version to 2.4.0+dev (#21727) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 4797517c | [mypyc] Update documentation of race conditions under free threading (#21726) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 519ef6df | Fix note about python version support for PEP 696 syntax (#21720) |
Ali Hamdan <a****v@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d5daed27 | [mypyc] Make attribute access memory safe on free-threaded builds (#21705) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 0faa413e | Use `PYODIDE` environment variable for Emscripten cross-compilation detection... |
Agriya Khetarpal <7****l@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 3d75cdb0 |
[mypyc] Borrow final attributes more aggressively (#21702)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 24c237d8 | [mypyc] Improve documentation of Final (#21713) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| b5be2173 | [mypyc] Update free threading Python compatibility docs (#21711) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| cbcb51ad | Narrow for frozendict membership check (#21709) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| af2bc0f3 | Sync typeshed (#21707) |
github-actions[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 77ccc7a4 | Fix custom equality handling for membership narrowing in static containers (#... |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e68ecefd | Infer Coroutine for unannotated async defs (#21651) |
Jingchen Ye <1****1@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 7a45d255 | Bump librt to 0.13.0 (#21698) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 732802c8 | [mypyc] Document librt.threading (#21697) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 89deb7db | [mypyc] Document recent additions to `librt.strings`, such as `ispace` (#21696) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| f5163c01 | Fix variance inference issues caused by dataclass replace (#21694) |
Shantanu <1****a@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| b6d93f5a | Fix regression in dataclass narrowing for Python >= 3.13 (#21675) |
ygale <g****e@s****g>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| e986558a | [Chore] Update changelog for 2.2 (#21691) |
esarp <1****p@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| f3294a09 |
[mypyc] Add librt.threading.Lock class (#21690)
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 | |
| cfc07346 |
[mypyc] Fix unsafe borrowing of instance attributes with free-threading (#21688)
Co-authored-by: pre-commit-ci[bot] <6****]@u****m> |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| c07d7888 | [mypyc] Make for loop over list memory-safe on free-threaded builds (#21686) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 523acf6d | Update version in prep for new release (#21685) |
esarp <1****p@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| a805f692 | Sync typeshed (#21665) |
github-actions[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d308a8dd | Comment spelling cleanup (#21676) |
Viktor Szépe <v****r@s****t>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 2f21f985 | [mypyc] Make multiple assignment from list memory-safe with free threading (#... |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| cd747e55 | [mypyc] Make list get/set item more memory safe on free-threaded builds (#21683) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 0f956541 | [mypyc] Make librt tests resilient to cleaning all .so files (#21682) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| ee076569 | [mypyc] Don't borrow list items on free-threaded builds (#21679) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 1cc7e8fd | [mypyc] Fix memory safety of list.count on free-threaded builds (#21680) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 50e04b28 | [mypyc] Make vec creation from list memory safe on free-threaded builds (#21681) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| c3d9b5cc | Fix star import dependencies in mypy daemon (#21673) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 0c6013d7 | Upload wasm wheels to PyPI (#21671) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 1462b4ec | Fix error code of note about unbound type variable (#21668) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| a6eadee8 | [mypyc] Make instance attribute read-only at runtime if Final (#21666) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| d67a1388 | Bump ast-serialize to 0.6.0 (#21664) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 month ago | |
| 47f0df57 | Bump librt to 0.12.0 (#21663) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 79a769ac |
[mypyc] Fix reference leak when setting unboxed refcounted attrs (#21657)
Co-authored-by: Claude Opus 4.8 (1M context) <n****y@a****m> |
Tom Bannink <t****k@g****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 629f4564 | [mypyc] Support generic primitives and add some generic primitives for vec (#... |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 5374fec1 | [mypyc] Fix function wrapper memory leak (#21654) |
Piotr Sawicki <s****r@o****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 24335663 | Fix skipped imports considered stale (#21639) |
Piotr Sawicki <s****r@o****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 3179030e | [mypyc] Fix handling of invalid codepoint values in librt.strings (#21634) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 1b206eb2 | Support .ff files with --cache-map (#21633) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 862af99f | [mypyc] Fix non-deterministic ordering of spilled registers (#21632) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 9d5e32c7 |
[mypyc] Fix non-deterministic compiler output due to frozensets (#21631)
Co-authored-by: Piotr Sawicki <s****r@o****m> |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 5ef09027 | Fix the exportjson tool (.ff cache to .json conversion) (#21628) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 8d621adb | Support --shadow-file with --native-parser (#21623) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 74ecdd8e | Sync typeshed (#21612) |
github-actions[bot] <4****]@u****m>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 0cd15415 | [mypyc] Make function wrappers thread-safe on free-threaded builds (#21620) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
about 2 months ago | |
| 22a9cfd1 | [mypyc] Make list remove and index thread-safe on free-threaded builds (#21614) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 27d7a353 | [mypyc] Fix dict iteration memory safety on free-threaded builds (#21617) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 0da2bbdb | [mypyc] Make some dict primitives thread-safe on free-threading builds (#21616) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 8b6642db | [mypyc] Fix free-threading race condition in argument parsing (#21613) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 0f9676e3 | Add function definition notes for `too_many_positional_arguments` errors (#21... |
Kevin Kannammalil <k****0@g****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| f8bf7ab5 | Memoize the options snapshot (#21354) |
Kevin Kannammalil <k****0@g****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| e0c375a9 | Support floats in JSON in fixed-format cache (#21603) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
2 months 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> |
2 months 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> |
2 months 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> |
2 months ago | |
| 5e7e91bc | Speed up transitive_dep_hash for singleton SCCs (#21390) |
Kevin Kannammalil <k****0@g****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| d69ab34a | Add support for TypeForm in incremental mode (#21591) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
2 months 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> |
2 months ago | |
| 7c9097b9 | Update TypedDictType.__init__ signature to preserve backward compat (#21590) |
Jukka Lehtosalo <j****o@i****i>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| fad733ff | Add Python version checks to native parser (#21539) |
Kevin Kannammalil <k****0@g****m>
Committed by: GitHub <n****y@g****m> |
2 months 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> |
2 months ago | |
| 52de0c73 | [mypyc] Preserve inherited attribute defaults under separate=True (#21547) |
Jo <4****s@u****m>
Committed by: GitHub <n****y@g****m> |
2 months 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> |
2 months ago | |
| 363be141 | Fix crash on invalid recursive variadic alias (#21572) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| cbd8c82b | Fix docs build (#21580) |
Ivan Levkivskyi <l****i@g****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 0ce09a17 | Implement support for closed TypedDicts (PEP 728) (#21382) |
Alice <a****n@g****m>
Committed by: GitHub <n****y@g****m> |
2 months ago | |
| 4c8f9944 | Fix constructor calls for union-bounded TypeVars (#21571) |
Jingchen Ye <1****1@u****m>
Committed by: GitHub <n****y@g****m> |
2 months 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> |
2 months 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> |
2 months ago |