Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/python/typing_extensions
Backported and experimental type hints for Python
https://github.com/python/typing_extensions
7f22dcda00409927d6dc443630467a870afcbc5f authored over 2 years ago by Jelle Zijlstra <[email protected]>
Co-authored-by: Alex Waygood <[email protected]>
92d508d262d84d503b11c3fa63a076e571fbdedd authored over 2 years ago by Jelle Zijlstra <[email protected]>d00b3457babd7ebc868b638e992784beeedf81da authored over 2 years ago by Jelle Zijlstra <[email protected]>
Looks like this is in `typing.__all__` but was missed out of `typing_extensions.__all__`
4d21e24ee7a37680503646312b8912044e4798dc authored over 2 years ago by Alex Waygood <[email protected]>
- Add "a" to make the message grammatical
- Add a trailing period because _type_check adds anot...
f520b8a839727061583a11280586cb05dd072a75 authored almost 3 years ago by Jelle Zijlstra <[email protected]>
73d560881e62aeb1af0f3aff9683024a3fc7b0b7 authored almost 3 years ago by Jelle Zijlstra <[email protected]>
00a403095e4ec816414107155921d5c5ccb5877f authored almost 3 years ago by Shantanu <[email protected]>
aba47e2491229963596351aec568497c1495e1f4 authored almost 3 years ago by Jelle Zijlstra <[email protected]>
722e7ead1907758fb29ebf2eb53e0545c2a79ec4 authored almost 3 years ago by Marc Mueller <[email protected]>
07a103710e5a22e4c1b6a5803a14720d64717df2 authored almost 3 years ago by Jelle Zijlstra <[email protected]>
4d94b4c982886c74d86c4d8d6729d7d9f3143fee authored almost 3 years ago by Jelle Zijlstra <[email protected]>
e3359a92257b7abcbb5d24a1f3a81c1b007defbc authored almost 3 years ago by Jelle Zijlstra <[email protected]>
9a89499b54f4b783f3951f259a1503d99b041b0b authored almost 3 years ago by Jelle Zijlstra <[email protected]>
* PEP 655 Add interaction w/ required/optional keys
Change TypedDict to respect keys that are...
4910950ea24d47b60d9c2b29db6a4ea15376c2d8 authored almost 3 years ago by David C <[email protected]>Co-authored-by: Nikita Sobolev <[email protected]>
9c7b998add0987de823f1961e3dc322c7ece35d9 authored almost 3 years ago by Jelle Zijlstra <[email protected]>Backport of python/cpython#30842, with additional tests from @sobolevn's python/cpython#31222.
ba258bb98a57309407578c33b755406c2cf4fd00 authored almost 3 years ago by Jelle Zijlstra <[email protected]>5be289a115d3d78ab32f15c8b8d4225695169cad authored almost 3 years ago by Gregory Beauregard <[email protected]>
dcedbb178ecee772d953aebd7cb6b128964e5a09 authored almost 3 years ago by Jelle Zijlstra <[email protected]>
Co-authored-by: Erik De Bonte <[email protected]>
0623de0e90d2c1246a4107d12fb2e40b16539c84 authored almost 3 years ago by Jelle Zijlstra <[email protected]>e20271c83e7e5cbe1094d6c431ccfe096b02b02c authored almost 3 years ago by Gregory Beauregard <[email protected]>
0690c0b6ab5f8ebb9a551e5ab0f6204fae4aaf85 authored almost 3 years ago by Yurii Karabas <[email protected]>
As promised in https://bugs.python.org/issue46386
Backported:
- https://github.com/python/cp...
35b7ca7e110a46b3c89b8c15eb88665787a34585 authored almost 3 years ago by Jelle Zijlstra <[email protected]>
8c7b30392b8a52475aeeafd4e47b3d97d62caeff authored almost 3 years ago by Chris Moradi <[email protected]>
d3d5538f0190f9792b5059a52c7d5cc8a4d62c15 authored almost 3 years ago by Chris Moradi <[email protected]>
typing exists in all supported Python versions
bb651c60961958b1e2075d105bb887cd0106a604 authored almost 3 years ago by Jelle Zijlstra <[email protected]>
As pointed out in #1023, there is no risk of incompatibility, since the
requires-python field w...
* Test on Python 3.11 pre-releases
* Update linter config
a22f4d1729e788823a485fd4afb2ca4ec63ff089 authored almost 3 years ago by Adam Turner <[email protected]>Per the Python docs and PEPs, `TypeAlias` appears to have been defined in PEP 613, not PEP 610.
4cc4d959441e4090b52bb6fa3384dd3aabef8185 authored almost 3 years ago by Predrag Gruevski <[email protected]>Came up in python/typeshed#6619
b96946883e2510baec33f7cb0be10704af2b25e3 authored about 3 years ago by Jelle Zijlstra <[email protected]>cd9faac806f991344ade6c81cb5b321242f611c3 authored about 3 years ago by Jelle Zijlstra <[email protected]>
Adds a local copy of _SpecialForm in our namespace, so
typing._type_check won't raise TypeError...
cae96085d3b2e887e0d68f133cb903c8fe3668ec authored about 3 years ago by Jelle Zijlstra <[email protected]>
985403c264932ef319a0edb6272f472cf03a1b48 authored about 3 years ago by Adam Turner <[email protected]>
22f11bb66895c4937f5916c03d95cb88f70dc2cb authored about 3 years ago by Jelle Zijlstra <[email protected]>
- Add an explicit inclusion policy: new stuff can go in here as soon as there is a PEP
- Remove...
4c9d4e7fff48bcd3c7960f405d030b964f135ba6 authored about 3 years ago by jack1142 <[email protected]>
cf75e420a23c28fd6fd963573a55450db7237ab7 authored about 3 years ago by Jelle Zijlstra <[email protected]>
31e2b4fd7bf0fb87df122b32390d04bf9ef74850 authored about 3 years ago by Sebastian Rittau <[email protected]>
Co-authored-by: David Foster <[email protected]>
355094bbf31f6be830dff8170974d164113f6749 authored about 3 years ago by Jelle Zijlstra <[email protected]>0d10fec91740924bb48cc4435df093c12a1c2368 authored about 3 years ago by James Hilton-Balfe <[email protected]>
Co-authored-by: Shantanu <[email protected]>
c51ebedf137c230a57e5a8951bcf914b2e46734d authored about 3 years ago by Sebastian Rittau <[email protected]>
* Remove compatibility constants for old Python versions.
* Remove obsolete code branches.
* U...
* Drop Python 2.7 support -- tests, linting
* Adopt pyproject.toml and a build backend (flit)
...
Bump version to 4.0.0-pre
388a59dbee02e64317215942c5ff1798d5ba3ecd authored about 3 years ago by Sebastian Rittau <[email protected]>c15dfaa626c0cd3107973a765f48f88db0ffba9a authored over 3 years ago by Sebastian Rittau <[email protected]>
Update README accordingly
04e1c4d00793eeaf69b52c03471bbd401348fb27 authored over 3 years ago by Sebastian Rittau <[email protected]>Closes: #877
42dec1a4a49d78446af41ae6602223e42a545c59 authored over 3 years ago by Sebastian Rittau <[email protected]>Co-authored-by: Jelle Zijlstra <[email protected]>
425e6728f18af02c7f9055bb71b50145c2f17b0a authored over 3 years ago by Sebastian Rittau <[email protected]>
* Split Python 2.7 tests from Python 3 tests as they use different paths
and require installa...
dc3a23b7aeb042674707b2a48f810b12ab5fde65 authored over 3 years ago by Sondre Lillebø Gundersen <[email protected]>
* Split linting into two steps
* Fix an overly long line
* Run linter with Python 3.9
* Ignor...
dab1bdeba0cf3faba3110e9f65c4f31a8d4160dd authored over 3 years ago by davfsa <[email protected]>
108de0f023705f7fb2577795c27e8feb31c0ef55 authored over 3 years ago by Ken Jin <[email protected]>
a9be78c5dcf0ce475b3b561b326637ecca2e8e50 authored over 3 years ago by Jelle Zijlstra <[email protected]>
ed8aa88db3da1159bd4ef274df358114420b13fe authored over 3 years ago by Ken Jin <[email protected]>
8e9222048d61f1a31b93f60a44cb9d4bbfc433aa authored over 3 years ago by Jelle Zijlstra <[email protected]>
b75e42f2904282605637a30d04c53960e843a274 authored over 3 years ago by Nikita Sobolev <[email protected]>
bd6dd368b57a7dfc925a400a92fdaae12048b044 authored over 3 years ago by Sebastian Rittau <[email protected]>
0c70227e221866b74b5cf6b3e251bc67864781ef authored over 3 years ago by Jelle Zijlstra <[email protected]>
This only triggers on pr, not on pushes, since there will be a separate workflow for pushed that...
63db76ade6936e630d41a8b57f181e6b5717bf91 authored over 3 years ago by Sebastian Rittau <[email protected]>5b9fd03f46569bbd1429e20086656ee89001e63a authored over 3 years ago by Ken Jin <[email protected]>
* BUG: Added a missing comma in `__all__`
* TST: Add a test to ensure that all objects in `__...
b22e66916ed26e4705fa3359fda4b5a5d1af7128 authored over 3 years ago by Bas van Beek <[email protected]>faa7ce22752123e616a08c9e4fe81c3b234c1354 authored over 3 years ago by Jelle Zijlstra <[email protected]>
This should be the last missing piece for a 3.10-compatible release.
The implementation was m...
b7797ae1faa9dfbe82f0720077ef4b21fac8b2f4 authored over 3 years ago by Jelle Zijlstra <[email protected]>
From python/cpython#25298. I also added more tests for get_args/get_origin,
which previously di...
Co-authored-by: Alex Grönholm <[email protected]>
d1cc9fc0f0d639aeb23eba6fde26d2dae2f42486 authored over 3 years ago by Dominic Davis-Foster <[email protected]>0f9c7e488926d6b7ad03fd741eb03a90fecab849 authored over 3 years ago by Dawid Kraczkowski <[email protected]>
b697a12f2793655db99dde660bb47458ad36aa55 authored over 3 years ago by Ken Jin <[email protected]>
(The solution for 3.7.0 and 3.7.1 is a little funky, but those releases are dead anyways.)
c7194ebb1cb849b571332e568742ee25197dbbeb authored almost 4 years ago by James Morris <[email protected]>This was previously not included in the readme although implemented
26683c1f4cdc62aa7b7b3717a30868ee603a29c3 authored almost 4 years ago by Nils K <[email protected]>9796e32589c4bf79d4bc77114c69407d5c752ce9 authored about 4 years ago by Ken Jin <[email protected]>
Applies the fix from https://bugs.python.org/issue40398 to typing_extensions: typing.get_args() ...
1372103101bb46b27b96281e208df655db9c7439 authored about 4 years ago by Antonio Valentino <[email protected]>6780ff911c94fe16fbc568a48369d3189a188144 authored about 4 years ago by Noel Evans <[email protected]>
5ecd5978d8f424edf730787b384d1a69358d09c3 authored over 4 years ago by Guido van Rossum <[email protected]>
20b697f8273ec3dec2900670ea9f3097daafcb91 authored over 4 years ago by Kyle Altendorf <[email protected]>
It supports running its tests for all supported Python versions:
2.7 and 3.4-3.9, which are dif...
d362ccb6504bf52618796822e8e6ffa9091575a4 authored over 4 years ago by Mikhail Golubev <[email protected]>
Python 3.9+ has its own version of Annotated. Make the tests take it
into account similarly to ...
ec45cf193806ff5d0400f9e435446a110e5fb2b5 authored over 4 years ago by Sebastian Rittau <[email protected]>
a64d6c443de905fe82851a46f94fa6b26f2c9050 authored almost 5 years ago by Guido van Rossum <[email protected]>
(For a complete description of the issue see https://github.com/python/typing/pull/700.)
5a02150d8c1170f618689042684b98380cba8e1a authored almost 5 years ago by Vlad Emelianov <[email protected]>4fe38bc322c78b6107ccb91d2cf7773704dd47e4 authored almost 5 years ago by Vlad Emelianov <[email protected]>
Following [1] this prevents multiple runtime implementations of Annotated
and get_type_hints fr...
The implementations come from CPython commit 427c84f13f77 with one small
change – the get_origi...
Backport of python/cpython#17214 (BPO-38834)
a867181713fdd98ff54223429e849e32b5f20138 authored about 5 years ago by Zac Hatfield-Dodds <[email protected]>Fixes https://github.com/python/typing/issues/677
This backports https://github.com/python/cp...
d63e9e58667e794193accf74a3c74d683eb62b45 authored about 5 years ago by Ivan Levkivskyi <[email protected]>cfcd58ef88dd22057d9883791d90d2699417704e authored about 5 years ago by Ivan Levkivskyi <[email protected]>
d37e2a8121e8f157f779f6a4c14ae7918af18959 authored over 5 years ago by crusaderky <[email protected]>
8f6929f50dfd843b092f7f774918328e83be81bf authored over 5 years ago by Ivan Levkivskyi <[email protected]>
Fixes #660
7ab5407f2265cf5f9b4ca611b7951f8e354c9887 authored over 5 years ago by Michael Egger <[email protected]>Fixes https://github.com/python/typing/issues/488 (again).
The fix is a hack, but on the othe...
ba02e11288c3441071d3cada4bfc9cec662a9040 authored over 5 years ago by Ivan Levkivskyi <[email protected]>6cf38073d45205a72266bdf2ccf651b0c8317f33 authored over 5 years ago by Ivan Levkivskyi <[email protected]>
This was recently fixed in CPython repo (while adding `Protocol` there). This PR backports the f...
d0d22a35f94a20cca0891b21cadc3aa54b718875 authored over 5 years ago by Ivan Levkivskyi <[email protected]>Fixes https://github.com/python/typing/issues/648
This essentially just moves a bunch of code...
b37de4d59c1b0112331ccd79f6f0cf55a3c6b318 authored over 5 years ago by Ivan Levkivskyi <[email protected]>Fixes https://github.com/python/typing/issues/643
(Use ignore whitespace option to review thi...
4064a6d22872defe88b970ecdc377237d6fda65e authored over 5 years ago by Ivan Levkivskyi <[email protected]>6d427f3323a5a855f2dfcb355dae4f2afc2346a3 authored over 5 years ago by till <[email protected]>
The Python 2 version is very close to the Python 3.6 code.
a15d7866329c3b8a084d120c67ded51df2f5dd76 authored over 5 years ago by till <[email protected]>This covers python 3.53 and above. I added a fair amount of tests.
3269a69a6df7efff095acfaa5be3d77ac7b4300b authored over 5 years ago by till <[email protected]>