Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/python/mypy
Optional static typing for Python
https://github.com/python/mypy
Changed the return type annotation for `__init__` from `int` to `None`
8e79a69465613549d8d2870d2410048c902c1cbb authored over 3 years ago by Reda Bouaida <[email protected]>Related: #10345
3bdef9fe6d401f3d2e0cacf4964bd315550c3394 authored over 3 years ago by Xuanda Yang <[email protected]>This is due to https://github.com/python/typeshed/pull/5233
Co-authored-by: hauntsaninja <>
0d1155b9e1f1e4e7ff5291cebb649b7fe2ba3d13 authored over 3 years ago by Shantanu <[email protected]>* Sync typeshed
Source commit:
https://github.com/python/typeshed/commit/fc660d6d4170ce1bcb0...
* Stop running Python 3.5 in CI
Python 3.5 always fails in CI these days
Linking https://git...
887c1eb13c149a0b80588fb56fa601140390cc81 authored over 3 years ago by Dixith <[email protected]>
001e4a75ed6510e0fc73f0fdc6f0920bd9492908 authored over 3 years ago by Dixith <[email protected]>
Also covers `is nonlocal and global`, `No binding for nonlocal` and
`is already defined in loc...
Closes mypyc/mypyc#831.
b367f26d5626f256f277907273c4bf06c410e3c4 authored over 3 years ago by 97littleleaf11 <[email protected]>Closes #9968
This PR adds the inverse of --explicit-package-bases: --no-explicit-package-base...
2ac722ac7d844f4c5ae2f3c36f3470543cf01b11 authored over 3 years ago by Gustav Gränsbo <[email protected]>8d57ffa817526fde7715da13246f72f1b1d62b60 authored over 3 years ago by Nikita Sobolev <[email protected]>
Related #10141
3fbe2185f3096d5ea0b23d6bbd0b68c5075cde90 authored over 3 years ago by Nikita Sobolev <[email protected]>
Fix function `is_protocol_implementation` for quite similar protocol classes.
Fixes #9771
``...
c0490b4c2d2bc3f385c548089245c929ca4b0448 authored over 3 years ago by Christoph Tyralla <[email protected]>There were several things to improve in Final docs:
1. For some reason it was `ID: Final[floa...
d7a999c3e9fc04fac8ca84077408b97c85d36dea authored over 3 years ago by Nikita Sobolev <[email protected]>Closes #8296.
Check if types are AnyType instances after simplifying them.
3505adc757f984d63a384f5d2af1c53c2d95734f authored over 3 years ago by Kamil Turek <[email protected]>Followup from #10255
eb73a2d802d745d224d82eebf586653f5c9f965d authored over 3 years ago by Jelle Zijlstra <[email protected]>Closes #9928.
Issue an error about incompatible signature when trying to override typeguard m...
49cd412d98c56f0e313377bfc5517d8011a7d37a authored over 3 years ago by Kamil Turek <[email protected]>Related issue: mypyc/mypyc#644
Add a new primitive for dict.setdefault().
Move some dict c...
f463a3921fcd5cb360c12a84650880a2a92e0566 authored over 3 years ago by 97littleleaf11 <[email protected]>* Use type(x) == T for type narrowing
This makes mypy use expressions like type(some_expressi...
3cebc97181594d7ab359bf1d82509a16ae5f037d authored over 3 years ago by pranavrajpal <[email protected]>b049e6a9a34c484e44807cae9b41407c601706ce authored over 3 years ago by Dixith <[email protected]>
c5e4e0f5e818639c573fb7ab4f33eb237754c15c authored over 3 years ago by Ashley Whetter <[email protected]>
Two things I have changed:
1. `get_function_signature_hook` was missing from docs, but it is de...
typshed mistakenly set itertools.count as a function while it is actually a class. Meaning that ...
b31122f12de69afe89b0562ab4750b0285949538 authored over 3 years ago by hatal175 <[email protected]>Closes #10264.
Consider reversed order of operands when trying to compare version info. When ...
1567e36165b00d532f232cb3d33d1faf04aaf63d authored almost 4 years ago by Kamil Turek <[email protected]>
The vtable index is only needed for when we actually go through a
vtable lookup. I don't believ...
Add a new primitive to check for empty strings.
Related to mypyc/mypyc#768.
1e96f1df48a6e06ba598fa8230b96671b206cba0 authored almost 4 years ago by pranavrajpal <[email protected]>* in async function - double quotes
* Cannot determine type of - double quotes
* syntax er...
e46aa6df6126cf47bea97bf9f94d7cba093d0103 authored almost 4 years ago by Dixith <[email protected]>2a43cb95a194fa5d43d2e094be4be8e88e48f3ef authored almost 4 years ago by Dixith <[email protected]>
Closes mypyc/mypyc#771 and #9707.
Changes:
* Move code from tranform_set_comprehension to ...
2787d49633e732aa34de61c9ff429416ea10c857 authored almost 4 years ago by 97littleleaf11 <[email protected]>Fixes #10254
Co-authored-by: hauntsaninja <>
bab4e22f1d0207ebc17ee3388d2434484aa998f4 authored almost 4 years ago by Shantanu <[email protected]>Closes mypyc/mypyc#821.
341bf19f03504af911743b2279ecfdd3f21e66db authored almost 4 years ago by 97littleleaf11 <[email protected]>This works for me locally, but the version on ReadTheDocs seems broken
Co-authored-by: haunts...
f00bb49066810589b5bb122425381ef833fe471b authored almost 4 years ago by Shantanu <[email protected]>These need to be compiled as non-extension classes.
Also mypy has a special internal represen...
5496bf9b657c12ef14e5e3cab429f22e247b9a41 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
Prevent the coercion of things whose types are checked with isinstance
to other types - such co...
Only include the argument parsing functionality we need.
This speeds up the call_type_from_in...
fcbb2dd6f48196524be2d89d592ca1af190bb389 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>Small typo in the get_function_hook docstring
797544d8f97c478770eb178ba966cc7b1d0e6020 authored almost 4 years ago by Kyle Verhoog <[email protected]>Resolves mypyc/mypyc#769.
b594e6ba4d518adc163e70c5ccaf92ce936869a7 authored almost 4 years ago by 97littleleaf11 <[email protected]>Co-authored-by: [email protected] <[email protected]>
641919f9496c8c62b9f45e7ec8402162667b7a11 authored almost 4 years ago by Dixith <[email protected]>Part of #7445
Co-authored-by: [email protected] <[email protected]>
764f9265df723ab5c610faace9e995d2b30816f0 authored almost 4 years ago by Dixith <[email protected]>push_type_map was re-implemented in-place for check_for_comp
6ad3ea13bea053bd32ea82431ed0180bcfd7a97b authored almost 4 years ago by Nikita Sobolev <[email protected]>bfc67b6129b3f82a7a6e92eddeedbcfb70440a31 authored almost 4 years ago by Dixith <[email protected]>
This reduces the number of lines in the generated C when compiling
the richards benchmark by ab...
Fix a compile error when an unboxed initializer is used for a boxed
final variable.
I had to...
20e8e6896f21d85675c6a3ebafde1742d895535c authored almost 4 years ago by Jukka Lehtosalo <[email protected]>Unreachable generator expressions are still failing, but most others work.
Fixes mypyc/mypyc#...
8aa385ede804df6f39701d8593a77bd7c242b087 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
Silence an awkward mypy error if somebody tries to type check this
file.
* Fix mypyc failing to compile on CPython 3.10.0a6
_PyObject_HasAttrId() has been removed in
...
This commit adds an optional CI run with python nightly. It is allowed to allow run failures, so...
4ecbd4d775489f42d37a26f41f3a918c21084b48 authored almost 4 years ago by Adrian Freund <[email protected]>
distutils is deprecated in python 3.10, so we only import it if it is
needed, which should only...
Closes #9063
a503132749eb179eec8d1e97f6b8e372daab6ce7 authored almost 4 years ago by Ethan Leba <[email protected]>
This fixes strconv not displaying False and possibly other falsy values.
I ran into this probl...
Here are a few updates/fixes after a read through the mypyc docs.
For the corresponding primi...
28034cccceb7aacf3d17cb0492e99bb4efda5158 authored almost 4 years ago by Thomas Johnson <[email protected]>Resolves #10124
Co-authored-by: hauntsaninja <>
4adb5e4631916ea0dee625cdfaf18ac7ef4a1c58 authored almost 4 years ago by Shantanu <[email protected]>Improve clarity and add a comparison against Cython.
474fd5c474d08818fd35764816f3cb1046ed6c6a authored almost 4 years ago by Jukka Lehtosalo <[email protected]>de7514de2d052a269b09f7c6a04c9a45791df6e3 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
This README will go away once all the useful content is covered in the
new README or the main m...
Update the index page. Configure mypyc version in conf.py.
dd2a628329dc5a33e5f1356a02ec369fb11daad5 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>Consistency is good.
Work on mypyc/mypyc#807.
7e9b57ce6cee69e2b05c29f089a223aa46774e29 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>152de165f8c52f95436a77f107cdbc1e607a9a5b authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
The vectorcall APIs can make calls to callable Python objects
significantly faster when using k...
Fix #10129
c8bae06919674b9846e3ff864b0a44592db888eb authored almost 4 years ago by 97littleleaf11 <[email protected]>Co-authored-by: hauntsaninja <>
7241b6ce8fafd7dda6b50a7e412cdbcd9be03436 authored almost 4 years ago by Shantanu <[email protected]>
In #9443, some code was added to predict the type of enum values where
it is not explicitly whe...
This adds back #10041 that was reverted because of failing Windows builds.
The Windows issue ...
98c2c1289ff76570457fc547ae254293aea6a019 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>This is my second attempt to land this. See the first attempt (#10040) for the details.
Previ...
5eecc407c8e2e8ec9ce3cea33972776d15af25d5 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>related to #10114
5161d93950cdb6daa5a13559b64e9e016ab78183 authored almost 4 years ago by 97littleleaf11 <[email protected]>Fixes #10137
72ac2cee910ca61bfdf449217328b6d10b45d378 authored almost 4 years ago by Gen Xu <[email protected]>Updates two actions to the latest versions (`v1` is outdate as for now), changes how submodules ...
3c4f01947bf63db467f99dda43d42198345291cb authored almost 4 years ago by Nikita Sobolev <[email protected]>Currently a very important tool - which `NodeVisitor` definitely is - is not available to be use...
effd970ad1e8bb09fd2a18634339e1d043a83400 authored almost 4 years ago by Nikita Sobolev <[email protected]>Support str.replace primitive
15bd486a67a3214fdb854ba2f1d6d524113da6c1 authored almost 4 years ago by 97littleleaf11 <[email protected]>
Processing newly installed stub files, in particular, could be quite slow incrementally
in mypy...
9cbf4c0da8f83efd0ba82a91e180b6e96dd15f69 authored almost 4 years ago by Adrian Freund <[email protected]>
Implements dict copy primitive for improved performance.
Related ticket: mypyc/mypyc#644
497556f466dcda90d850b23e86c55ec4082be3f5 authored almost 4 years ago by vsakkas <[email protected]>
This one is on our issue tracker's greatest hits.
Here's the issue I usually link: #2608
Co-...
8780d45507ab1efba33568744967674cce7184d1 authored almost 4 years ago by Shantanu <[email protected]>19ee71a2a77404db9784e0bc168c010ab9968876 authored almost 4 years ago by Akuli <[email protected]>
These could break a multi-file build, but monolithic builds were fine.
5911a2cbad458b72164c5f0a269330211de1d50d authored almost 4 years ago by Jukka Lehtosalo <[email protected]>This reverts commit 7ec1455821373ee394afc824f18c53bff1b6923b.
Looks like this broke Windows w...
b07c564043328ded5686d1aac4d7d3e5c8a5bfb0 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>This reverts commit 047e427ff960aca4565897e5e77324fc7660ff10.
Looks like that the new literal...
9da0ce163befe446dfebb024898d64a1664cab5f authored almost 4 years ago by Jukka Lehtosalo <[email protected]>This reverts commit 7ab647d91a0d59244dcdc10f21ca35f11fa382e1.
7ec44526372cb6afab7c773d93fbb4d235b16c06 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>This may reduce memory use and thus fix the builds.
7ab647d91a0d59244dcdc10f21ca35f11fa382e1 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
This might fix the out-of-memory errors we are getting when
building Windows wheels. In any cas...
22528cfafcc11d5e0f6f0cfbc8771bbeeb19d9b8 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
Fixes mypyc/mypyc#800
I believe this is the only instance of a variable declaration inside a ...
dc4f0af163ed3748311115fd896494262c0dc644 authored almost 4 years ago by Thomas Johnson <[email protected]>This reverts commit d308210eb2f8877f74a5cd318381e9e78d243dee.
683320c1ec5b6744f4885659471ec9049d607193 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>This will hopefully fix out of memory errors.
Work on #10074.
d308210eb2f8877f74a5cd318381e9e78d243dee authored almost 4 years ago by Jukka Lehtosalo <[email protected]>09bc50fec95bd7ac754e8d91dbb8a60fd63cc7db authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
The contents are extracted from the current GitHub action definition:
https://github.com/mypyc/...
`encodings` uses module-level `__getattr__`. By not trying to follow
imports to the submodules...
This speeds up resolving imports somewhat.
Add fast paths to `isfile_case`. On Linux we skip ...
a21e5e18df2b77c82462be98dce32027fce2e61d authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
The skipped check is pretty slow, and it's not useful when following
imports to suppressed modu...
Find added stubs in daemon when using --follow-imports=skip. Previously
it was often necessary ...
4f1587f69f7e2714fbb6030624750872a4cbe573 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
Co-authored-by: hauntsaninja <>
7eecc40f0626095f917b8295ab9bba4498f40f58 authored almost 4 years ago by Shantanu <[email protected]>Co-authored-by: hauntsaninja <>
99f4c5c81210d19f205f626f9cbac371399e1707 authored almost 4 years ago by Shantanu <[email protected]>88dde657fedecf17e15222ad4b685b0aeddcc423 authored almost 4 years ago by Anthony Sottile <[email protected]>
This was failing during wheel builds because we run the tests after
installation (under `site-p...
* [stubgenc] Render classes before functions
Functions may depend on class definitions, there...
6d7beb41768506eeb263c9c14574c93010cd2674 authored almost 4 years ago by Sergei Izmailov <[email protected]>2a1578a9220162b769648ce725c6b699c5b46986 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
Fixes #7445
Changed single quotes to double quotes in all error message. Changed test cases t...
96cae4b1b0c2a4298ca8cb3e86d8dced30c9fff2 authored almost 4 years ago by Prasanth Chettri <[email protected]>e609a31f30326ef673b4f99ac43c09c3ed4df950 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>
26b9c1b113aac9f2440a793d6278f3ffdd176a24 authored almost 4 years ago by Jukka Lehtosalo <[email protected]>