Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/python/typing
Python static typing home. Hosts the documentation and a user help forum.
https://github.com/python/typing
6125fbf34112667947e6181dce226942751a57cc authored 11 months ago
* Incorporated PEP 696 into the typing spec.
* Incorporated PR feedback from Jelle.
* Fixe...
1bc723c69672e7553c0c8016019f69c59c2aaded authored 11 months ago438055a4099c99b12cb6e7672359e2cb12c652de authored 11 months ago
I'd like to add a glossary section for https://discuss.python.org/t/basic-terminology-for-type...
ca38780e584e0a8057a0cafb0a252ea12182f42a authored 11 months agoAdded the spec part of PEP 705 to the typing spec.
$Removed experimental
$Update
Added ...
68abac9ae4721f247217dcff741036cfad39739d authored 11 months ago* Added the spec part of PEP 705 to the typing spec.
* Fixed a bug in sample code copied from...
081d4e781a50bf763c2cd18f91902e2e3ee9a94c authored 11 months agoa3330dfde2ca28ee6e52fd41c9d6b6e3a542ab32 authored 11 months ago
Updated conformance test results for the latest versions of pyright and pytest.
7b489c75d92e280afdefdbdd406d7289cba82ffc authored 11 months agoe08290b70f58df509f998cbbe09a8e65abb57a9b authored 12 months ago
f6b710639acdac0f05f9181b1fc3f644a5552a31 authored 12 months ago
Added conformance tests for historical (pre-3.8) mechanism for specifying positional-only parame...
01ed04202d2c3594d6425d466ef611af2703aa92 authored 12 months ago* Added clarification about pre-3.8 way to specify positional-only parameters.
* Incorporated...
16c8ccbd0de365235d9e08ee51239b11f494df4b authored 12 months ago64873f047f47f92db08ca2f0518f7917f694529a authored 12 months ago
Updated tests for latest version of pytype (2024.02.13). Updated `qualifiers_annotated.py` test ...
62ec871cad97b241a4c5e5cbc483eaaf87f274f6 authored 12 months ago87fce5f678227af114d6f38096b50ca3b57b7ddb authored 12 months ago
To facilitate cross-linking from the PEPs and the CPython documentation.
Also fix a few insta...
1c2ed4183392bb91f07d4619a61956b8e6c7db6f authored 12 months agoRegenerated conformance report based on latest results after previous merge.
cfc242e8e0f5be87f759d678cd1f1ed9ae35e19b authored 12 months ago* Added draft conformance tests for named tuple chapter of typing spec.
* Updated conformance...
aa916e54c39ae380221fc1322e80cfd9f3a881ce authored 12 months ago* Added draft chapter to typing spec for named tuples.
* Fixed issues that Jelle found in his...
12eb6c66cd6e7c9f4c1f40b3b7a61ba2f29fcbc3 authored 12 months ago9cb95732eaec07e7fdff24aa9d4dd787f0f9e7cc authored 12 months ago
9a4db518d3e5966b43066084e1bcc9faacc946e0 authored about 1 year ago
be5354db61acf622a131f4779fe92c1556cd69fc authored about 1 year ago
1a637dbd20028e40c65e3587e87598409e4172e8 authored about 1 year ago
9ebd4388eab8041d40b91e121177c43eabfbf3c7 authored about 1 year ago
Updated conformance test reporting based on recent spec update for `@no_type_check` decorator.
189350e3eb8777b4e8e9b399f9ad23a5babbfd50 authored about 1 year agoa928a91ce892a879872043bee6d358c21dcea63d authored about 1 year ago
a872359c5816bc7656c44673689a6cd40809a859 authored about 1 year ago
Fixed a couple of minor formatting issues and typos in the new tuples chapter that I didn't noti...
0ef752168d816b6f9483dcd8ce21cea9d67e377d authored about 1 year ago* Added test cases for new "tuples" chapter.
* Fixed a bug in the tests and test results. Add...
62daab20ba3ea124ac3702efc3266d241f8b4721 authored about 1 year ago* Added draft chapter to typing spec for tuples. This consolidates and augments existing informa...
02fc524a6cdf3f2b6a96f6c08f8b1635b7355428 authored about 1 year ago75886392d942989da091d4be594d017a70779830 authored about 1 year ago
aa93bf6db72ce6c1c7ce2f1bed645d9d94768861 authored about 1 year ago
* Updated spec and conformance test to reflect that a type variable that is defined as covariant...
53846cc4c23e935efab03f68ce415cded90bd5b8 authored about 1 year agoAlso removed outdated test result files for a test that was renamed.
3e6ace3275094e58dd0e17afeaf6e7e70c9863a5 authored about 1 year ago
Several conformance bugs were fixed in this release.
The output of pyright changed significantl...
Added code to make the compliance test more deterministic. In particular, pytype doesn't appear ...
be90544ea0d9f2e18e1cb61807bf38f333b77d57 authored about 1 year ago805fe84903fbaaeae7c7509d776ab16d474b551c authored about 1 year ago
8279fa6f472eacc25768433a6908ab3573b0391e authored about 1 year ago
Fixed a bug in the conformance tests for TypeVarTuples and removed a note that I had left in pre...
ebb1a42063530634c93413861d092417c6aad02f authored about 1 year ago1b141ffbefe00af3dd238dab9b3893054a6383c2 authored about 1 year ago
3c02f031cc929251e3a35b8384d25b00b06674d7 authored about 1 year ago
* Added language to reflect the intended behavior for triple-quoted type annotation expressions....
0665b39be774fb1ca67fb8fec8b7ed6d06eec8ae authored about 1 year agoUpdated conformance test results for pyright 1.1.347, which fixed a bunch of non-conformance iss...
c54c84dfb82385cc5173cd8243475bef694a22a4 authored about 1 year agoReverted https://github.com/python/typing/pull/1576. It wasn't meant to be merged yet because th...
55d90759d9317e36e118b69e4b6544dd9f38bce7 authored about 1 year ago* Updated comments in `protocols_explicit` to clarify that error must be generated at class inst...
c0771708a442837e2dd173a6c66a06c5ce619010 authored about 1 year ago
A common confusion in the Python ecosystem is the difference between
distribution names and pac...
Fixed a bug in the NewType conformance test that was based on a misreading of the spec. A NewTyp...
214295874485b59d1da564677dcef612e87b3801 authored about 1 year ago* Added command-line option "--report-only" that regenerates the report summary without re-runni...
fb9d9203577146b83f4290302accb0ad5f6c6dcb authored about 1 year ago* Updated spec and conformance test to reflect that a type variable that is defined as covariant...
a17d8a3a528945fb67d349319430a65f9c79b0f5 authored about 1 year agoAs discussed in https://discuss.python.org/t/signed-values-in-literal-type/39919
8fd71d29269fd633a953fd86ccce87b6c9fc2a64 authored about 1 year ago
* Describe typeshed as a "project", not a "repository".
* While typeshed still contains third-p...
Updated conformance test results to reflect recent change to the rules about `NoReturn`. The pre...
bd0b42c9ddf8ab20b4407be82c920babc6436c43 authored about 1 year ago071c6850acb2e86e353ab3febc1f814f77a19f41 authored about 1 year ago
Added tests for `@final` decorator.
Added tests for `Final` annotation.
Updated pyright test r...
I think this isn't currently very clearly documented. Hopefully this
will be a good place to fi...
7b192dca34b3a483cfaf1eadeb5a273a9d14bc5f authored about 1 year ago
a44d4158523a83b17d43fb4287e834d8a3cd6865 authored about 1 year ago
ebedabf864c8ebaaadbee3763bf1c4983ad264d2 authored about 1 year ago
d4279933e9f60142767996c1bc1ad52063439b25 authored about 1 year ago
69d7412c1b381148b155a4c373baf29d0ffd31ac authored about 1 year ago
This change gets the pytype test down to ~30s. It's still considerably
slower than the others, ...
8aa8f8b6825ac3a28cb2a06d83c20174a94439da authored about 1 year ago
ec4903b8072e50847c51110af411e6646960522a authored about 1 year ago
Also clarify that the purpose of the issues
42f39e740fc8e8ad2a86717b88ea6c628d2fba51 authored about 1 year ago007e5e6985801ecb8b70e4f6078a786dba330b00 authored about 1 year ago
9f35263d2e78d7e904abbd7ad9d190720d7b9ad2 authored about 1 year ago
Copied over from https://github.com/JelleZijlstra/typing-spec with some further improvements
...
7117775f5465c6705bb753bd639e6255af380386 authored about 1 year agoCo-authored-by: Jelle Zijlstra <[email protected]>
0c89ed564069639d3a62ebd9790acdc182719c2f authored about 1 year ago3f139608cb139c04ae4330b134e2556b2cf25fcd authored about 1 year ago
13ecfc7fd692e6fff696566eb0391d00ed431652 authored over 1 year ago
d8eeb1d924ae4da6da642aa5ed0b1ad43d713a06 authored over 1 year ago
054aa5387aaed68eea59a3d7dabeaad1089a1c13 authored over 1 year ago
7d72ce0d628dd811bc8c6037caee0f5f3f9c6fdb authored over 1 year ago
Co-authored-by: Alex Waygood <[email protected]>
Co-authored-by: Jelle Zijlstra <jelle.zij...
a477b761be76a9d3fbc512e9d57319b06fdd5d78 authored over 1 year ago
Fix TypeError of 'class MyProto(Protocol)'
TypeError: Too few arguments for typing.Mapping; a...
3811d8cadc81a687d8adc4ab81d42b3a91ea1259 authored over 1 year agoe38affe8ff6daf0bca1e4442b5d31bea543bb79d authored almost 2 years ago
604ed086d2d6bbcb915ea314c54b0638dbcdf8ca authored almost 2 years ago
retype is no longer maintained. Since it's based on lib2to3, its corpse
is not going to be usef...
188471412419a21051b26a8c25738ad8d6e434eb authored about 2 years ago
dc8d235fc90786183f0f12be4b9072ad9b4516dd authored about 2 years ago
* Update the copyright years.
* Update some wording in the history introduction.
* Change capi...
Partially addresses #1242
5442a37e62df638af50b58ab6ddb8adfc4570e4d authored over 2 years agoc7b0a54db788a7c4fa124f654b6f0ea536939089 authored over 2 years ago
Part of #851
Co-authored-by: Jelle Zijlstra <[email protected]>
45dee4f52a9251d79500155453cf953c4184a173 authored over 2 years agoFixes #1195
4bdf0db49dda83a00dfb5f7e45c96e89bc0e0c8a authored over 2 years ago
Move all "style guide" items over that apply to both stubs as well as
implementation. The items...
bc18c21ff601fc01a8f433b243be3f0408bbaf33 authored over 2 years ago
61af76ad4c13397f09978dfbb9c2bbe8756a95d0 authored over 2 years ago
c468c694f4c92cf799892e9cbb6ef283c382a993 authored over 2 years ago
7c5e767198f3d39bdc929eee5e342fc5877fbb2a authored almost 3 years ago
8817cb32ea876314e914da7e428f8edba940754b authored almost 3 years ago
11cf5d685217b63853640ebe57c61d6f9d78396b authored almost 3 years ago
8ecc93fdae7ede5601e5318368af2cb5fedb29b5 authored almost 3 years ago
The README is displayed below the file tree anyway, but this makes it
easier to explore the rep...
a5adc015c105a182e2f58cdb69296c3c7e05a329 authored almost 3 years ago
2ab2eed0c6cb370e6f91da7e08c85e3699c8fead authored almost 3 years ago
Closes: #1149
2cf0d626d46f7b946875ea1a51417848443546b3 authored almost 3 years ago465536968d321b3ba32c2bd51cffbf60c48d7af8 authored almost 3 years ago
817c77fcef789e6287ffd21e1dc9835c28ec8751 authored almost 3 years ago