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 merging dicts of different types (#5520)

04d81a8499b500847c2dc0e646179647b385d329 authored over 3 years ago
Loosen mapping as input type in mapping representer (#5644)

Signed-off-by: oleg.hoefling <[email protected]>

725b5ef71b298edbcab2560aa7b02207d16c0472 authored over 3 years ago
loosen type restrictions for mapping representer input (#5640)

Signed-off-by: oleg.hoefling <[email protected]>

5a1dbf7cee17051bee478da988c9f7f690b9c681 authored over 3 years ago
Add Python 3.9 support in logging.basicConfig (#5639)

3072046430f28a23a2429720d58db9dd87b20475 authored over 3 years ago
Fix incorrect markupsafe.Markup return types (#5638)

Closes #5632.

524947dbdca8eec5d8fac51337fc7b3eb93b0239 authored over 3 years ago
Add type hints for representer registration functions (#5636)

bump version to the current major release of PyYAML

Signed-off-by: oleg.hoefling <oleg.hoefli...

03809dc604375927e58c2744334ccd6cce1afbe3 authored over 3 years ago
Update PEP 612 status in CONTRIBUTING.md (#5635)

And add a new "Partially supported" section

04627bfb835e6f7b49348f27688dd61b406424ce authored over 3 years ago
use ParamSpec for @contextmanager (#5476)

4581501c986041875ac129bd3067ea62a74bb5c5 authored over 3 years ago
Add stubs for yaml.nodes and yaml.representer (py3) (#5634)

Signed-off-by: oleg.hoefling <[email protected]>

b65fa0ed5291e87441398119a94ddb27ecb735da authored over 3 years ago
Update bleach stubs (#5631)

4c3e3a68a675260a58dc2b9625543f1fd8ca2aef authored over 3 years ago
Fix imports in paramiko (#5606)

beb6891a3b8fce70b170368f2a9bbb42ddd6e2e5 authored over 3 years ago
Pillow: fix errors found by stubtest (#5629)

* Update Pillow stubtest allowlist

* Update cryptography allowlist

d3ba8a38587ceb8c54dfa9fed32c1028aa80595e authored over 3 years ago
Add stubs for yaml.error (#5627)

* type yaml.error

0744d8c30a20450dc4732f37cbff2ce91bdf0b7b authored over 3 years ago
Add distributions arg to third-party stubtest (#5628)

* Add distributions arg to third-party stubtest

Make stubtest_third_party.py executable

Co...

3368258e4a0a3228f0fa59535631294ac568eff5 authored over 3 years ago
Add missing Pillow stubs (#5626)

These were generated with stubgen and then slightly hand edited, mostly
by fixing imports and...

a3a355433d040b143a2d11cd1d26dd77ac675a4b authored over 3 years ago
Test third party stubs with stubtest (#5615)

7244ea1f719eb5c3cb206560c3c04c99d7aee2a0 authored over 3 years ago
use TextIOWrapper for sys.__stdin__, sys.__stdout__, sys.__stderr__ (#5623)

9565c595ca6c0a95ef242242594f26251a2c1ea3 authored over 3 years ago
Use a TypeVar for the return types of TarFile classmethods. (#5602)

* Use a TypeVar for the return types of TarFile classmethods.

* Add TypeVar annotation to Tar...

48a346920bbc24165bd9e9cf29a2b5140eae2abc authored over 3 years ago
Mark cryptography as obsolete (#5619)

Bump version to 3.3 (last version before Python 2 removal)

f28100af195c6f5160e3ae7085bf3c418cef838f authored over 3 years ago
Signal handler callables take `int`, not `Signals` (#5622)

The documentation for [`signal.signal`][1] points out that the current
annotation for signal ha...

72f4057d81798b09f08ba67e3f24da049dd64c96 authored over 3 years ago
Add self type to requests.Session.__enter__ (#5620)

Fixes microsoft/pyright#1976

967d0b21672f66c188d956432188c4415d7f73b1 authored over 3 years ago
Rename whitelist to allowlist (#5614)

Resolves #4436

I want to add stubtest for third party stubs, and figured it'd be easier
to m...

e66ceceed0d2ffde8d1c718075fe38889643a92c authored over 3 years ago
Add a stricter config pass for pyright (#5612)

c4dc935b3fd818bf38aade61434173489446e933 authored over 3 years ago
Allow passing complex to complex constructor (#5609)

cb76f32826ac8f2fdf4cf712c524bf45990be67c authored over 3 years ago
Metadata versions field now reflects the latest supported version (#5600)

d143a5d04b0bd279d19d0c85908f58a497784fbe authored over 3 years ago
Fix zincrby argument order (#5608)

6a6d5d8fd224a2a41cbff473cbdc490acb17ed5b authored over 3 years ago
Fix generate protobuf script and run formatters (#5605)

* Fix generate protobuf script

* Install and run black and isort

d7d3926b2c99f08f7f3881e944ef38692300865d authored over 3 years ago
Add rudimentary Pillow stubs (#5594)

* Add rudimentary Pillow stubs

Co-authored-by: Jelle Zijlstra <[email protected]>

5d811e18b572eb36b1fa9c15c228e18826380d76 authored over 3 years ago
Fix PyJWT package name (#5604)

The "jwt" package on PyPI is actually a different, incompatible package,
called python-jwt. Fix...

67a2ed7dd7e4a2dcada77d7af8735b5c17454aa1 authored over 3 years ago
Bump versions of obsolete packages (#5601)

To latest version pre obsoletion

6e153a3a4ea06a773b7d73b2dd1e3e468f06cc83 authored over 3 years ago
Enable pyright for all Python 3 stubs (#5597)

* pyright: disable reportUnknownParameterType

Unknown parameter types are preferred over Any ...

711580722b2ceea20ddd25eeae72ca29536b8211 authored over 3 years ago
Use stable mypy (#5595)

Use stable mypy

Pin all package versions

Don't upgrade pip itself

c601d5cf3d8968f3dc1fe792bc1da5b43c6a9ed9 authored over 3 years ago
Update black, isort, flake8* (#5596)

4edbeff5ccf9e33e7db677bd1db6252059e0f7f9 authored over 3 years ago
Remove AnyPath (#5592)

Part of #5470

87e805bce67f0667ecaadd05374a4bd67561f49a authored over 3 years ago
Rework Match.group handling (#5557)

* Rework Match.group handling

Standardize group(), groups(), groupdict(), and __getattr__() t...

52dd232a236919696dc14349e7c2a3892fc41b24 authored over 3 years ago
Delete attrs (#5585)

Closes #5581

63fd1688c58fbc510cfb5c4b68cdf1c97eba8a05 authored over 3 years ago
Use Literal for MatchSingleton (#5590)

bad2fea551d7a98a75bf8150d8799b0a36d6e787 authored over 3 years ago
move DndSource to tkinter/dnd.pyi (#5588)

200260e6853d64cf88869763d478712a02dd8e9b authored over 3 years ago
add types to most common tkinter.Entry methods (#5586)

* most common tkinter.Entry methods

* type-ignore tkinter's lsp violation

ec80fdaeb55859395ec539374f688257ac926349 authored over 3 years ago
random.choices: weights can be Fractions (#5587)

0209b6f95f54948eb403e395cca75f183b83c76c authored over 3 years ago
add types to tkinter invoke methods (#5582)

4b66a9cd4e1b1afecd0112300b1b06aa14ad9937 authored over 3 years ago
More types for tkinter.Treeview (#5584)

68dbab81f40260fbaf88a5ce58f486289cd1b14a authored over 3 years ago
finish types of tkinter.Menu (#5583)

615913600610c46e14a4904138528270830986a2 authored over 3 years ago
Mark attrs stubs as obsolete (#5580)

746db19c3f199a7173f72e1598b8adad199a2f43 authored over 3 years ago
add types to tkinter.filedialog.ask* (#5579)

ecafd6fe47dba829c7cfde093ec7d2b427b3449b authored over 3 years ago
Click parameter declarations work with any iterable (#5576)

18cbd23b019d836102c85a821a019b03df6f6e91 authored over 3 years ago
argparse#add_argument: make choices optional (#5574)

10889422df20c20cd7e0afb811c3284897fa181e authored over 3 years ago
Add some submodule versions to stdlib/VERSIONS. (#5573)

Adds some version ranges for submodules that are available in different
versions that their par...

a4075472d34b59c590047c33f5fc534c925b52c0 authored over 3 years ago
Add `__all__` to `__future__.pyi` (#5570)

Closes #5569

5804543c1cce17a01af0f98cbcf53ff0fe82a69d authored over 3 years ago
Return concrete server from abstract event loop (#5566)

https://docs.python.org/3/library/asyncio-eventloop.html?highlight=abstracteventloop#creating-ne...

7e1b8384a08f5f8d107b274d6b004fde844d98bf authored over 3 years ago
Add importlib.metadata.packages_distributions() (#5565)

f4c5ae01c45df5009233ca1e3168c70db24e8caf authored over 3 years ago
Support wrapping LoggerAdapter in LoggerAdapter (#5562)

Fixes #5561

dd229f80beeb787c3e38f333e3ade80fb0f12d4a authored over 3 years ago
Remove unused stubtest whitelist entries (#5563)

af068d6d3c9500597c6650e6097e56f630591458 authored over 3 years ago
Add annotations for some redis client methods (#5559)

Add annotation for move(), persist(), pexpire(), and expireat().

2a9f081abbf01134e4e04ced6a750107db904d70 authored over 3 years ago
Add encoding & errors parameters to fileinput (#5558)

ef15088d651f98f963785ebe400ca92f160de3e3 authored over 3 years ago
Rework socket (#5545)

* Extract _socket.pyi from socket.pyi.
* Extract _socket.socket from socket.socket.
* Fix sock...

6ee67483a30e178f243d3a9a5b5a9bb4b902901a authored over 3 years ago
Expose curses.BUTTON5_* in Python 3.10 (#5556)

* Expose curses.BUTTON5_* in Python 3.10

* curses.BUTTON5_* aren't available on macOS

ee4d9fb10640fe6794fdf51812d28b84a9ab8f89 authored over 3 years ago
datetime: add timedelta.__bool__ (#5555)

2255a6fdc807934a6fa1857fe3963db92f526651 authored over 3 years ago
Use PEP 604 in types.pyi (#5553)

bfc83c365a0b26ab16586beac77ff16729d0e473 authored over 3 years ago
markdown: Add missing attribute to Markdown stub. (#5544)

* markdown: Add missing attribute to Markdown stub.

* markdown: Add * to mark rest of argumen...

bb79dc9b514c94f1b9f9c3da1c89fe1b5fd0e112 authored over 3 years ago
improve inspect.pyi (#5473)

- Use TypeGuard for various is* functions (refer to #5406)
- Use collections.abc and builtin co...

b2e3c4f1d781f179946edafe777286e48422f62e authored over 3 years ago
bump various dependencies (#5551)

e47eff31f7a525dfd6642fb0fc822f78bba4fd09 authored over 3 years ago
Use protocols instead of IO for bz2 (#5499)

f56271393956a99e7d9673b8628458fc6ad8753c authored over 3 years ago
builtins: add a getattr overload for bool (#5518)

As brought up in https://github.com/python/typeshed/pull/5516

Alternatives include:
- Use an...

04fb7ceb3ce919ed541a5b7b675359f09a104e16 authored over 3 years ago
Add contextlib.AsyncContextDecorator (#5550)

af376f4d1f20b647dc6265c8d2c81ab85e197ac0 authored over 3 years ago
Add curses.has_extended_color_support() for Python 3.10 (#5549)

33ea64898873ef8e254779c1f9754827af43e9ae authored over 3 years ago
Remove mypy_test_suite (#5543)

Closes: #5540

9795bae6f7bca95efcc96a7b470c92d0ad2b9e4e authored over 3 years ago
Fix BaseServer request and client_address types (#4992)

dae5817f16126164ec7a3f8ddce7d77a3ca7fde7 authored over 3 years ago
mark fb303.fb303.FacebookService.Client as a context manager (#5542)

99a97195c4ff6f3f3c8daaf5f2af140ea215f646 authored over 3 years ago
asyncio.Server.socket fixes (#5538)

* Move socket from AbstractServer to Server.
* Fix Server.socket type on Python 3.7+.
* Use It...

ca256b85b989f9719a8c2ad8879c2cb6f1d1548d authored over 3 years ago
Add codecs.unregister() for Python 3.10 (#5539)

038556cb7e3201789357ea2dea752297870ef767 authored over 3 years ago
add asyncio.Task.get_coro return type (#5536)

0a73982318398b25ba773e1c68f88571d486942d authored over 3 years ago
Improve tuple.__add__ type (#5522)

Noticed this while browsing the stub. This feels safe but we'll see what mypy-primer has to say.

c4da3757d7a513f6caf8924c59b6c16aed55c91e authored over 3 years ago
mock: fix overloads (#5534)

* mock: fix overloads

Fixes #5533. This changes the order and in some cases removes default
val...

74a8900166bb6b5f545fe8ccaf6772884173af77 authored over 3 years ago
Use __new__ for datetime.timedelta (#5532)

af33b09bf6df0849f1cabaccd4887b493b0905a4 authored over 3 years ago
Use __new__ for datetime.time (#5530)

a32d24cae09f32d8a33c8ceb2dfb8294c1d8b075 authored over 3 years ago
Remove unused stubtest whitelist entries (#5531)

9b2f158fdb794178dbc26c4d626eac0150e5158c authored over 3 years ago
tempfile._TemporaryFileWrapper enhancements (#5519)

55a2a180c6f095d7a897ac5da3f7e0e7f8dd908b authored over 3 years ago
dataclasses: update for py310 (#5525)

4bfdba71cba6599befae40c4344a839e5a550b78 authored over 3 years ago
Re-enable mypy test suite (#5526)

Fixes #5505, in combination with https://github.com/python/mypy/pull/10527

Co-authored-by: ha...

05f91f73b3e0774b336f769b6cca8773182be9c2 authored over 3 years ago
Add sys.orig_argv for Python 3.10 (#5524)

781b76769efa79987b501a2eeeb17456a49ee4ba authored over 3 years ago
Add sys.stdlib_module_names for Python 3.10 (#5523)

e7880085a2aecb8d894b6b51b5757505414058ef authored over 3 years ago
use comment-hider v0.3.0 (#5521)

fb5387e6e421017c10c92b14d68954cfdedf5aa3 authored over 3 years ago
change getattr stubs to better type the default argument and return type (#5516)

Co-authored-by: Shantanu <[email protected]>
Co-authored-by: Akuli...

8d56328a2447b7f1fee9baf45af8db3df6163b5b authored over 3 years ago
PEP 604: Add ror operator and modify isinstance and subclass (#5509)

Add operators or and ror for types.Union and ror to the type class.
Also, add modified isinstan...

dbaaa3a1036fae6cb8ee2531dfd097641d69ec25 authored over 3 years ago
Adjust types for asyncio.coroutines functions (#5517)

Noticed this in mypy-primer output in #5516 on this code: https://github.com/encode/starlette/bl...

c4e3fd92cc937901b1d0417777803a4d71b44648 authored over 3 years ago
Bump to pyright 1.1.142 (#5515)

6d0b7889d3867d54f7ad328bf685d8b8e2c52cad authored over 3 years ago
Improve dict.fromkeys() with None value (#5514)

Closes: #5512

acca3181ed651ea57ea023acef2d7d94d519ba10 authored over 3 years ago
Add __contains__ to gdbm.gnu (#5511)

Fixes #5510

19d612962438e009bca821bff0f419657169f60e authored over 3 years ago
add _Pickler.dispatch and _Unpickler.dispatch (#5508)

2628e7727257c56123f47ceca443c51b92e57fbf authored over 3 years ago
Document _typeshed (#5501)

* Document _typeshed

Closes: #5486

* Allow README.md files

21e647a1840e85cc04da08a24912893b311f16a7 authored over 3 years ago
Use only literal overloads for ZipFile.__init__() (#5504)

2c7bae69017313ebf182894fa22575ed7c6dc2fe authored over 3 years ago
Add _Pickler and _Unpickler to stdlib/pickle (#5506)

These are the pure-Python pickle implementation, and are sometimes used
by code that wants to e...

1547035a95d132ba1c95a768cd344a8c39fd5821 authored over 3 years ago
mypy test suite is broken, disable temporarily (#5505)

8d6314b8f32afbc2060ea3566c2880d62f2881e3 authored over 3 years ago
Make html, ipaddress, reprlib and winreg only available on Python 3 (#5502)

None of these are available in Python 2.7.

e5459900c0ff775a9a0865131737dcba0e5d6743 authored over 3 years ago
Fix Python 2 genericpath.commonprefix (#5500)

The more specific overload item should come first. Also
fix the return type.

b08a2e6dea8a2f4bfa13d22dcfb54fabb4dde97e authored over 3 years ago
name can be any object (#5494)

f1dd6cad528da5b0445300a042e68350b7c05709 authored over 3 years ago
Add a comment about _typeshed to VERSIONS (#5447)

54a0bd80eee523ceaa66d0dd077969edeec779a5 authored over 3 years ago
tarfile improvements (#5492)

* Remove explicit Iterable super class
* Use Literals for mode parameters
* Import from collec...

1ea3d0f00385b14bfc5b098c9b4600de3cdda553 authored over 3 years ago
pyaudio: don't use ClassVar[Final] (#5498)

620cf381523723aa1d0b7c1953729eacda01cd65 authored over 3 years ago