Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/python/typeshed
Collection of library stubs for Python, with static types
https://github.com/python/typeshed
fae6bda3aeb63140920ff296b8de83a2cf9d0b6d authored over 4 years ago
1dc388040062c9a07b1a8ed040ea5619a9e06374 authored over 4 years ago
* Use 3.9 final instead of 3.9-dev
* Remove explicit Python versions from utility scripts
* Us...
When the type is DWORD an integer is allowed as the value type.
Here is a 3.9 test in cpython...
3d89b276d16ef123e2896e4eb2ede7dc20757428 authored over 4 years agoFixes #4647
53367ae18e7a5a50ef440ea6a1450a041fe71258 authored over 4 years agob9c81fe2f0c93af0538923269eab1063f8fbd653 authored over 4 years ago
7a2398df18da90d9e780814b072ff9f92e7d162a authored over 4 years ago
`extension_configs` are by definition unpredictable and an example that
isn't str ā str would b...
This came up in https://github.com/python/mypy/pull/9275
Co-authored-by: hauntsaninja <>
228f74d76a5df1b09fe0316d3eedd40cff285ec9 authored over 4 years agoCo-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
8a8ed3531e6af96169e27795d9c97ce78046905c authored over 4 years agoCloses: #4608
473044cf1f80709b90fb6ed36581936685271667 authored over 4 years ago* Add a version guard for importing enum.
I'm trying to pull the latest version of typeshed i...
fff7a10ae778e60a5212214051bf43f2236412ca authored over 4 years agoFixes #4612
35f4ade96f5c6988794e77f4e742f7cc75c89486 authored over 4 years agoFixes #4632
fa0ba1eda8672b3da089ae6cc0bd253dfa88d657 authored over 4 years ago36f2ffa07e6e749120adddeef72f5033c3431fea authored over 4 years ago
d40551e00091a203c53bd8b83604bc6b532b9ded authored over 4 years ago
021c219e6e7bc9bacd286a3f287c5c3ff4518f4b authored over 4 years ago
308b25f8dc0e539243d3078ee6b134841dec0b5d authored over 4 years ago
bfa52e204f85732ead88cb96ab7a780732ef56d4 authored over 4 years ago
- in accordance with changes in cryptography
Fixes #4561
6d248e8485a08336464d33d206e68c706ee72f10 authored over 4 years agoResolves #4623
714135f91b2d245f9c333a64d09a0fb1f320a743 authored over 4 years agoFixes #4620
cc71b6a4ed0d22cbe7276a6a30ebdfc688e3cd3e authored over 4 years ago2b08852d198ad8f365e74da33b12fd053b9df824 authored over 4 years ago
62cab2280fdd6ab778e6360d7790490d2682d5ff authored over 4 years ago
562fdbd9df164be3752962b85d780dcef0738a99 authored over 4 years ago
Co-authored-by: hauntsaninja <>
e428f2d479318015fb0be01e005bb303949b8176 authored over 4 years agoThis dates back three years to https://github.com/python/typeshed/pull/1249
It seems pretty u...
723a23abfc100f93aaf8feb0a29461b7021d2401 authored over 4 years ago
Crypto is a package that comes from pycrypto, which was last updated in
2013. It proudly suppor...
Resolves #4331
d34a45daa91aaecb6143ff8c598d42c8e0db0b2a authored over 4 years agoResolves #4541
8a1be2197d529fbc71ffad7c866cd177dfcfa832 authored over 4 years ago434379859b256a023e8635816c728fe170321072 authored over 4 years ago
Co-authored-by: hauntsaninja <>
52974e0a2bd9611088456d56b1f62590d161b2bf authored over 4 years ago
There are still a couple more, but hopefully this fixes CI. It's a
little bit of a chore to tra...
See #4598
Co-authored-by: hauntsaninja <>
e0a3644850577301f5331495d872a1ace973254f authored over 4 years agoa94eb4b64ca5a7fbaf70b96c9280780a1319d2b2 authored over 4 years ago
6e7ac975b499c63056819c5ea9987f089f790049 authored over 4 years ago
This should take care of #4598
Co-authored-by: hauntsaninja <>
76cd654987205f9e9e933755866a72e31c0f2b25 authored over 4 years agoCo-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
86b2aaf6eeef7603c2e28db22f96e0607deec91c authored over 4 years agoAdd imaplib.IMAP4.unselect()
ce3c9e05c0d228cb7847aef59583fab3d62ebf8e authored over 4 years agoFixes #4572
Co-authored-by: hauntsaninja <>
d140885898ba10becf70b88d3b59f441bed394e6 authored over 4 years agoCloses: #4591
2157c4a448a06dc6a3d3cf3a129b8082774cf49b authored over 4 years agoResolves #4575
8427e09424bb6491d2c570baafde27c112e4852f authored over 4 years agobf5651e7a6ce7d61d07aa83ccaf914e1024b31ad authored over 4 years ago
Add tracemalloc.reset_peak()
e8bcb14f0957ef1fb829ab52054f64a6acfe5fa4 authored over 4 years agoAdd support for new math functions added in Python 3.9:
- gcd
- lcm
- nextafter
- ulp
db29dd949c9504ca75390eee19ed1da183a7b1e5 authored over 4 years ago
* markdown: improve preprocessors type
https://github.com/Python-Markdown/markdown/blob/b701c34...
8879858871db40ef75d443d936ff949495bda597 authored over 4 years ago
See discussion on typing-sig.
This doesn't take care of some third_party libraries, will follow...
Closes #4514 #2630 #2686
27dfbf68aaffab4f1ded7dc1b96f6f82f536a09d authored over 4 years agoAdd support for the following open file description lock constants:
- F_OFD_GETLK
- F_OF...
353a65071bc2417fc3a27379977028b5f0fa5ec7 authored over 4 years ago
Caught by mypy_primer:
paasta_tools/mesos/master.py:150: error: Argument "delay" to "retry" has...
I made PathLike a protocol in #4447, but it should also be
runtime_checkable.
Caught by mypy...
076983eec45e739c68551cb6119fd7d85fd4afa9 authored over 4 years agoCo-authored-by: hauntsaninja <>
734d91f90bee3c782aa6c7c04492882dbc3c47b1 authored over 4 years ago
Having an obscure type variable name is causing some pretty inscrutable
errors. For instance:
...
c5cc223313bc7516a3c46fbc1b413a4fcfadd52c authored over 4 years ago
Co-authored-by: hauntsaninja <>
12e82874d2d82a20ba2eefe402e7d8b675a661c2 authored over 4 years agoCo-authored-by: hauntsaninja <>
cb6549fa8f7c58c13f896d54195cda77da97dcf4 authored over 4 years ago675ab775386ff4069e6a48d129f8e596ae8ca901 authored over 4 years ago
de70d0199d74a0bbef0ac9ab77cf2058c8cd8915 authored over 4 years ago
_patch.call() reused the type variable _T, which is generic over
_patch. It was meant to use a ...
b33896bcbc350c5fd5b592a8d73b9b9286a07c40 authored over 4 years ago
3d3dee91a358d950f2ce2b876c9672f2b998581d authored over 4 years ago
fae202e2a9f5b1278c83a4c02dff79fbed2b9257 authored over 4 years ago
3f539895295a33d24a9247bde9d9453a8cc295a7 authored over 4 years ago
f14d6eaa895dddf47798cd2c98f091832dfa34f1 authored over 4 years ago
ec62f5f7720ba52196eeffcfdbb178b6765bdd4e authored over 4 years ago
f1929d9e5a78442cc116c949fa4986f9b90419de authored over 4 years ago
Type checkers can use this to handle protocol matching for None (e.g. `foo: Hashable = None`).
...
The constants were found by running dir(posix) on a Debian 10.5 (x86_64)
system.
Resolves #616.
5d467a7756f724cac51a6dc07b5de00a8ae1a576 authored over 4 years agoMostly addresses #2149
9a6b5009092a6d5d5f4174630a8aed094011d8be authored over 4 years agoCo-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
4876b55382d9f6fb6d8971a294dbd2f2daf09acc authored over 4 years agofe69ffcb0fa95b78c5ce81dc1ff421c9efa40ca3 authored over 4 years ago
4e88557666811b88fcabed25f15611d55d687391 authored over 4 years ago
4e2e02b266556674ef9d64233ac42957d0941c72 authored over 4 years ago
Fixes #1840
b1865639c236f814ed31c331e215bb4be84aedb0 authored over 4 years ago98667b18c2edb53405b1950978e11356b29c44d7 authored over 4 years ago
822e4276931b367a461e53ffb1ef594653ef1e4a authored over 4 years ago
9dbe7f348ffd70af2884da451f53b35361ce5364 authored over 4 years ago
Co-authored-by: hauntsaninja <>
8642d2aa97e6fbb87c06c169c72a0ebf8d1f42f1 authored over 4 years ago
For the fd passed to these functions, CPython accepts not just an int,
but also anything with a...
A plist file can contain more object types than dictionaries.
d402f5533405781de632cc4ba7327ee33b27ddd3 authored over 4 years agoThis was added to typing_extensions in python/typing#724.
7409af9f79937e8afa8b905672670f0233de3865 authored over 4 years ago
The latest version recognizes the @runtime_checkable
decorator, required for #4442.
81d067618c74ed5c734ab0179904db77d0028142 authored over 4 years ago
The target argument can be an arbitrary object.
If it has certain methods, they are used by XML...
Co-authored-by: hauntsaninja <>
dc0b4262c32a19e87bd0f84c8f12f78cb51d3524 authored over 4 years agoCo-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
0f69275ce4301883b072c56d15dc46a2efd16109 authored over 4 years ago
Yaml loading accepts bytes and unicode, either directly or via IO.
For python 3, bytes and str ...
These were introduced in Python 3.7
https://docs.python.org/3/library/gc.html
b388662302e675d4156c43337a59d88349de8c7e authored over 4 years agoCo-authored-by: hauntsaninja <>
462c8301941d3cfbe2df96e20b5b647274f33b2e authored over 4 years agobfec4488603de7ab829ebca95626e2bfef246279 authored over 4 years ago
04f7d7a2fdafba7b91265f5d0e3fc2215316e6af authored over 4 years ago
Co-authored-by: hauntsaninja <>
861d6425b4b9a4768878d6f1472e251bf09617fa authored over 4 years ago1bc7689cbca1d19d664c7c947482490354696cc1 authored over 4 years ago
contextvars are only available in 3.7+.
6bf894bb82f1fa180b6892640a6f9dde127e6c05 authored over 4 years agoCloses #4517
d1923d153af3a6f1463cd25eff55d4a8d3bb6e32 authored over 4 years ago28a88adf0b6b57492d0784bf1a3d96340799dba4 authored over 4 years ago
Downstream of the reintroduction of py39 to CI / running the unused whitelist entry flow in #451...
23300837329ec7f14578344f40f72d866b342dd8 authored over 4 years agoCo-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
6f475bfc35065803d8cb279344bf3abe58f1240a authored over 4 years ago