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

Allow None in fp argument to HTTPError (#4660)

fae6bda3aeb63140920ff296b8de83a2cf9d0b6d authored over 4 years ago
retry: loosen type for backoff, correct type for jitter (#4659)

1dc388040062c9a07b1a8ed040ea5619a9e06374 authored over 4 years ago
CI: Update Python and mypy versions (#4656)

* Use 3.9 final instead of 3.9-dev
* Remove explicit Python versions from utility scripts
* Us...

5b11606d16ea7b40edf0293bbbbd8e97761f5a93 authored over 4 years ago
Accept int value for winreg SetValue(Ex) (#4640)

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 ago
Fixed return type for get_request (#4649)

Fixes #4647

53367ae18e7a5a50ef440ea6a1450a041fe71258 authored over 4 years ago
Add some return type hints for methods of Werkzeug's EnvironBuilder cā€¦ (#4653)

b9c81fe2f0c93af0538923269eab1063f8fbd653 authored over 4 years ago
fix(redis): add missing __enter__ and __exit__ methods on Redis (#4655)

7a2398df18da90d9e780814b072ff9f92e7d162a authored over 4 years ago
markdown: no assumptions about ext cfg types (#4651)

`extension_configs` are by definition unpredictable and an example that
isn't str ā†’ str would b...

977179f2f0cb7a239d9158ecda494d18f580752f authored over 4 years ago
io: loosen writelines type to iterable (#4642)

This came up in https://github.com/python/mypy/pull/9275

Co-authored-by: hauntsaninja <>

228f74d76a5df1b09fe0316d3eedd40cff285ec9 authored over 4 years ago
Remove unused stubtest whitelist entries (#4643)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

8a8ed3531e6af96169e27795d9c97ce78046905c authored over 4 years ago
Add information about removing third-party packages (#4637)

Closes: #4608

473044cf1f80709b90fb6ed36581936685271667 authored over 4 years ago
Add a version guard for importing enum in pstats. (#4635)

* Add a version guard for importing enum.

I'm trying to pull the latest version of typeshed i...

fff7a10ae778e60a5212214051bf43f2236412ca authored over 4 years ago
Replace bool.__init__() with __new__() (#4614)

Fixes #4612

35f4ade96f5c6988794e77f4e742f7cc75c89486 authored over 4 years ago
Add various undocumented functions from ftplib (#4633)

Fixes #4632

fa0ba1eda8672b3da089ae6cc0bd253dfa88d657 authored over 4 years ago
Added missing SysLogHandler types (#4630)

36f2ffa07e6e749120adddeef72f5033c3431fea authored over 4 years ago
Update protobuf ExtensionDict (#4619)

d40551e00091a203c53bd8b83604bc6b532b9ded authored over 4 years ago
concurrent.futures.wait: use _Collection (#4618)

021c219e6e7bc9bacd286a3f287c5c3ff4518f4b authored over 4 years ago
replace travis status badge with gh actions one (#4628)

308b25f8dc0e539243d3078ee6b134841dec0b5d authored over 4 years ago
loosen the wrapper type restriction in functools.update_wrapper (#4627)

bfa52e204f85732ead88cb96ab7a780732ef56d4 authored over 4 years ago
Made all backends Optional (#4625)

- in accordance with changes in cryptography

Fixes #4561

6d248e8485a08336464d33d206e68c706ee72f10 authored over 4 years ago
šŸ‘ Add Redis unlink function to client stubs (#4624)

Resolves #4623

714135f91b2d245f9c333a64d09a0fb1f320a743 authored over 4 years ago
Fix "cgi.parse_qsl" return type (#4621)

Fixes #4620

cc71b6a4ed0d22cbe7276a6a30ebdfc688e3cd3e authored over 4 years ago
add stub for dateutils.parser.ParserError (#4616)

2b08852d198ad8f365e74da33b12fd053b9df824 authored over 4 years ago
Add missing requests exceptions and warnings (#4617)

62cab2280fdd6ab778e6360d7790490d2682d5ff authored over 4 years ago
allow request.get params values to be None (#4611)

562fdbd9df164be3752962b85d780dcef0738a99 authored over 4 years ago
pep 484: last reexports (#4609)

Co-authored-by: hauntsaninja <>

e428f2d479318015fb0be01e005bb303949b8176 authored over 4 years ago
contextlib: get rid of a TODO (#4610)

This dates back three years to https://github.com/python/typeshed/pull/1249

It seems pretty u...

723a23abfc100f93aaf8feb0a29461b7021d2401 authored over 4 years ago
crypto: delete stubs (#4606)

Crypto is a package that comes from pycrypto, which was last updated in
2013. It proudly suppor...

cca6e53d86e2a7dac00f4c6ac80d9ded07d0364a authored over 4 years ago
sre parse_template allows byte sources (#4604)

Resolves #4331

d34a45daa91aaecb6143ff8c598d42c8e0db0b2a authored over 4 years ago
Add flask.testing.EnvironBuilder (#4602)

Resolves #4541

8a1be2197d529fbc71ffad7c866cd177dfcfa832 authored over 4 years ago
cryptography: Added backend types (#4601)

434379859b256a023e8635816c728fe170321072 authored over 4 years ago
asyncio.Semaphore: type some internals (#4605)

Co-authored-by: hauntsaninja <>

52974e0a2bd9611088456d56b1f62590d161b2bf authored over 4 years ago
pep 484: more reexports (#4607)

There are still a couple more, but hopefully this fixes CI. It's a
little bit of a chore to tra...

7afc733054864d3cd17b285c3b73bb4ddece0962 authored over 4 years ago
py39.txt: remove no longer needed comment (#4603)

See #4598

Co-authored-by: hauntsaninja <>

e0a3644850577301f5331495d872a1ace973254f authored over 4 years ago
Fix type in FrameType.f_trace (#4600)

a94eb4b64ca5a7fbaf70b96c9280780a1319d2b2 authored over 4 years ago
concurrent.futures.wait: changed Iterable to Sequence (#4597)

6e7ac975b499c63056819c5ea9987f089f790049 authored over 4 years ago
stubtest whitelist: fix (#4599)

This should take care of #4598

Co-authored-by: hauntsaninja <>

76cd654987205f9e9e933755866a72e31c0f2b25 authored over 4 years ago
Remove unused stubtest whitelist entries (#4598)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

86b2aaf6eeef7603c2e28db22f96e0607deec91c authored over 4 years ago
imaplib: Add new functions from Python 3.9 (#4596)

Add imaplib.IMAP4.unselect()

ce3c9e05c0d228cb7847aef59583fab3d62ebf8e authored over 4 years ago
statvfs_result: type structseq better (#4587)

Fixes #4572

Co-authored-by: hauntsaninja <>

d140885898ba10becf70b88d3b59f441bed394e6 authored over 4 years ago
Fix patch() used as decorator (#4592)

Closes: #4591

2157c4a448a06dc6a3d3cf3a129b8082774cf49b authored over 4 years ago
ast.get_docstring: fix return type (#4595)

Resolves #4575

8427e09424bb6491d2c570baafde27c112e4852f authored over 4 years ago
Use GitHub Actions to run mypy (#4594)

bf5651e7a6ce7d61d07aa83ccaf914e1024b31ad authored over 4 years ago
tracemalloc: Add new functions from Python 3.9 (#4593)

Add tracemalloc.reset_peak()

e8bcb14f0957ef1fb829ab52054f64a6acfe5fa4 authored over 4 years ago
math: Add new functions from Python 3.9 (#4590)

Add support for new math functions added in Python 3.9:

- gcd
- lcm
- nextafter
- ulp

9cbb2c78208a767515dc24c8371e3be14e45e371 authored over 4 years ago
gc: Add typing for gc.is_finalized() (#4589)

db29dd949c9504ca75390eee19ed1da183a7b1e5 authored over 4 years ago
markdown: improve preprocessors type (#4588)

* markdown: improve preprocessors type

https://github.com/Python-Markdown/markdown/blob/b701c34...

8879858871db40ef75d443d936ff949495bda597 authored over 4 years ago
pep 484: explicit reexport as intended (#4586)

See discussion on typing-sig.
This doesn't take care of some third_party libraries, will follow...

e3889c776e88d0116c161cf518af58aea90bba83 authored over 4 years ago
Use __new__ instead of __init__ for some builtin classes (#4555)

Closes #4514 #2630 #2686

27dfbf68aaffab4f1ded7dc1b96f6f82f536a09d authored over 4 years ago
fcntl: Add fcntl.F_OFD_XXXX constants (#4585)

Add support for the following open file description lock constants:

- F_OFD_GETLK
- F_OF...

e3352c654d58ffba5951e14aa8972c4c6f17212b authored over 4 years ago
Use Optional in random.pyi (#4584)

353a65071bc2417fc3a27379977028b5f0fa5ec7 authored over 4 years ago
retry: loosen delay to float (#4583)

Caught by mypy_primer:
paasta_tools/mesos/master.py:150: error: Argument "delay" to "retry" has...

bf48bfd37c41ae93a9dd3089b5b9a841dd222b55 authored over 4 years ago
PathLike: make runtime_checkable (#4582)

I made PathLike a protocol in #4447, but it should also be
runtime_checkable.

Caught by mypy...

076983eec45e739c68551cb6119fd7d85fd4afa9 authored over 4 years ago
update-stubtest-whitelist: fix type errors (#4581)

Co-authored-by: hauntsaninja <>

734d91f90bee3c782aa6c7c04492882dbc3c47b1 authored over 4 years ago
builtins: rename _LT (#4579)

Having an obscure type variable name is causing some pretty inscrutable
errors. For instance:
...

d6d2249edc1a9469db491d0acdff5f63b94f4ef4 authored over 4 years ago
Fix typo in constant name EAI_ADDRFAMILY (#4577)

c5cc223313bc7516a3c46fbc1b413a4fcfadd52c authored over 4 years ago
upgrade isort (#4576)

Co-authored-by: hauntsaninja <>

12e82874d2d82a20ba2eefe402e7d8b675a661c2 authored over 4 years ago
markdown: add more stubs (#4574)

Co-authored-by: hauntsaninja <>

cb6549fa8f7c58c13f896d54195cda77da97dcf4 authored over 4 years ago
Add missing methods in urllib.request (#4571)

675ab775386ff4069e6a48d129f8e596ae8ca901 authored over 4 years ago
Fix distutils.log function signatures (#4573)

de70d0199d74a0bbef0ac9ab77cf2058c8cd8915 authored over 4 years ago
Fix _patch.__call__() (#4568)

_patch.call() reused the type variable _T, which is generic over
_patch. It was meant to use a ...

0cd7dd7009fd0bafb5338f113f1363069b42d533 authored over 4 years ago
asyncio.run: fix type of debug (#4567)

b33896bcbc350c5fd5b592a8d73b9b9286a07c40 authored over 4 years ago
Use overloads for Redis.sort() (#4551)

3d3dee91a358d950f2ce2b876c9672f2b998581d authored over 4 years ago
Run pytype and mypy self test using GitHub Actions (#4565)

fae202e2a9f5b1278c83a4c02dff79fbed2b9257 authored over 4 years ago
Add more stubs for redis-py (#4557)

3f539895295a33d24a9247bde9d9453a8cc295a7 authored over 4 years ago
Improve unittest.mock.patch() types (#4277)

f14d6eaa895dddf47798cd2c98f091832dfa34f1 authored over 4 years ago
Allow Flask.Response.default_mimetype to be None (#4563)

ec62f5f7720ba52196eeffcfdbb178b6765bdd4e authored over 4 years ago
cachetools: fix caching decorators return type (#4556)

f1929d9e5a78442cc116c949fa4986f9b90419de authored over 4 years ago
Define `NoneType` class in _typeshed

Type checkers can use this to handle protocol matching for None (e.g. `foo: Hashable = None`).
...

c41f3e9bf946c5cb2fa53ed98380dc56977f82e8 authored over 4 years ago
Add more constants and attributes to posix (#4552)

The constants were found by running dir(posix) on a Debian 10.5 (x86_64)
system.

Resolves #616.

5d467a7756f724cac51a6dc07b5de00a8ae1a576 authored over 4 years ago
Add various missing undocumented functions (#4554)

Mostly addresses #2149

9a6b5009092a6d5d5f4174630a8aed094011d8be authored over 4 years ago
Remove unused stubtest whitelist entries (#4560)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

4876b55382d9f6fb6d8971a294dbd2f2daf09acc authored over 4 years ago
Add a few missing stdlib modules (#4550)

fe69ffcb0fa95b78c5ce81dc1ff421c9efa40ca3 authored over 4 years ago
Complete msvcrt (#4548)

4e88557666811b88fcabed25f15611d55d687391 authored over 4 years ago
Fix cls argument name of CodecInfo.__new__() (#4549)

4e2e02b266556674ef9d64233ac42957d0941c72 authored over 4 years ago
set difference strictly (#3886)

Fixes #1840

b1865639c236f814ed31c331e215bb4be84aedb0 authored over 4 years ago
Add more stubs for redis-py (#4480)

98667b18c2edb53405b1950978e11356b29c44d7 authored over 4 years ago
Added annotations for msvcrt.getch. (#4547)

822e4276931b367a461e53ffb1ef594653ef1e4a authored over 4 years ago
Update pytype to a version that can parse six. (#4546)

9dbe7f348ffd70af2884da451f53b35361ce5364 authored over 4 years ago
pkgutil, sys: make types more precise (#4536)

Co-authored-by: hauntsaninja <>

8642d2aa97e6fbb87c06c169c72a0ebf8d1f42f1 authored over 4 years ago
Make os.fchdir, os.fsync, and os.fdatasync accept FileDescriptorLike (#4544)

For the fd passed to these functions, CPython accepts not just an int,
but also anything with a...

13348403234bcda573c8399c5ce8c582aa583ac2 authored over 4 years ago
load*: Return Any instead of Dict-types (#4543)

A plist file can contain more object types than dictionaries.

d402f5533405781de632cc4ba7327ee33b27ddd3 authored over 4 years ago
Add SupportsIndex stub to typing_extensions (#4442)

This was added to typing_extensions in python/typing#724.

7409af9f79937e8afa8b905672670f0233de3865 authored over 4 years ago
Upgrade pytype (#4540)

The latest version recognizes the @runtime_checkable
decorator, required for #4442.

d4191de79f5d65d5b8b6fecd68773f6d43a3c731 authored over 4 years ago
protobuf: add serialized_options kwarg (#4531)

81d067618c74ed5c734ab0179904db77d0028142 authored over 4 years ago
Relax type of xml.etree.ElementTree.XMLParser target argument (#4538)

The target argument can be an arbitrary object.
If it has certain methods, they are used by XML...

87b758b0da1b092035e7ab09a91a66feae520730 authored over 4 years ago
builtins: minor improvements (#4535)

Co-authored-by: hauntsaninja <>

dc0b4262c32a19e87bd0f84c8f12f78cb51d3524 authored over 4 years ago
Remove unused stubtest whitelist entries (#4534)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

0f69275ce4301883b072c56d15dc46a2efd16109 authored over 4 years ago
yaml: Update load methods to use Text rather than str (#4533)

Yaml loading accepts bytes and unicode, either directly or via IO.
For python 3, bytes and str ...

59586848c97075b13271f4ca86fe0593c7fe19ec authored over 4 years ago
gc: add freeze, unfreeze, get_freeze_count (#4532)

These were introduced in Python 3.7

https://docs.python.org/3/library/gc.html

b388662302e675d4156c43337a59d88349de8c7e authored over 4 years ago
codecs: various fixes (#4526)

Co-authored-by: hauntsaninja <>

462c8301941d3cfbe2df96e20b5b647274f33b2e authored over 4 years ago
Use GH Actions for linters (#4528)

bfec4488603de7ab829ebca95626e2bfef246279 authored over 4 years ago
add stubs for frozendict (#4522)

04f7d7a2fdafba7b91265f5d0e3fc2215316e6af authored over 4 years ago
io: various fixes (#4525)

Co-authored-by: hauntsaninja <>

861d6425b4b9a4768878d6f1472e251bf09617fa authored over 4 years ago
Add type hints for pstats.SortKey available in Python >= 3.7 (#4523)

1bc7689cbca1d19d664c7c947482490354696cc1 authored over 4 years ago
Made contextvars import in asyncio.base_futures conditional (#4524)

contextvars are only available in 3.7+.

6bf894bb82f1fa180b6892640a6f9dde127e6c05 authored over 4 years ago
Mark the return type of signal._HANDLER Any instead of None (#4518)

Closes #4517

d1923d153af3a6f1463cd25eff55d4a8d3bb6e32 authored over 4 years ago
Update `emoji` stubs (#4516)

28a88adf0b6b57492d0784bf1a3d96340799dba4 authored over 4 years ago
stubtest: fix whitelists (#4513)

Downstream of the reintroduction of py39 to CI / running the unused whitelist entry flow in #451...

23300837329ec7f14578344f40f72d866b342dd8 authored over 4 years ago
Remove unused stubtest whitelist entries (#4512)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

6f475bfc35065803d8cb279344bf3abe58f1240a authored over 4 years ago