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

Issue #25665: Make NamedTuple picklable.

3819cbc1776b0553b1669f089ce9670546963126 authored about 9 years ago
In B[<type>], insert B in front of __bases__, to make the __dict__ descriptor work.

Fixes CPython issue #25472.

aab2c5976a985081b0589d067c906836296a6bfc authored about 9 years ago
Add changelog

c448a763ad2c28bcc390222122a61a172dae1283 authored over 9 years ago
Bump version

9d95872b54e6955db984bfd2fa3e9b2986c7b219 authored over 9 years ago
Merge branch 'python2'

Conflicts:
tox.ini

932d696e2b941962ab6c78ad4cdf22cb267685e5 authored over 9 years ago
We don't provide SupportsRound for Python 2

59c33f47bb13ce94883a0ed7e1520da005a4c24c authored over 9 years ago
Fix unicode and bytes issues for #160

9030626fadb5fd713f89730918cdba5346527a26 authored over 9 years ago
Backport typing to Python 2. Fix #160

The Python 2 port is located in python2/. Other options were:

* Having a separate branch for Py...

2aa13741538068a252733d4f339ab6c600d9de26 authored over 9 years ago
Merge pull request #162 from ambv/fix-python32

Fix Python 3.2 compatibility

89cb995d92241c1f53aa71c14b4b4ac851a1179b authored over 9 years ago
Remove unused imports

39d1ee83b8af8a3a5e6a42f314b7bbf20539b66a authored over 9 years ago
Add a copy of typing's sources to python2/ for future backporting

2d419e4c85eaec0ed36ebe5d938108d74ffd2d23 authored over 9 years ago
Don't use u'' prefix for strings because of Python 3.2, fix #161

4594c0681970379696670e57993c6b82a142b3ac authored over 9 years ago
Add tox settings for running tests for Python 3.2-3.4

a623de9124b39f9265571dc4d647f7be07f489a8 authored over 9 years ago
Union[str, Pattern] should work. Fixes CPython issue #25390.

a4aefcf2f53ef3ec1467e49a9f529f4aefaf48a1 authored over 9 years ago
Merge pull request #158 from ambv/pypi-release-3.5.0

Packaging files for PyPI release 3.5.0

9693f868783b10719ce6ef0dd4e3768b65911eac authored over 9 years ago
Move packaging files to the top-level directory

aea854253a1dfad4faa554df1883cf857c5d6cb6 authored over 9 years ago
Move the PEP development notes to drafts/

2c4a1d92fc5d24617de18154a1450e87dba70720 authored over 9 years ago
Rename prototyping/ to src/

a74c5dcae5a5631f2e9bb3acf92cb48db7038bc5 authored over 9 years ago
Update setup.py to reflect changes in typing 3.5.0

019395a7711cb96e2dc052e326f04fa4019433e2 authored over 9 years ago
Added .gitignore

e1f61a412246a6a90e0a251ad00acb5d07904766 authored over 9 years ago
Added setup.py and LICENSE from typing 3.5.0b1

02c9d79eb74b0abf05e2fd45c1127b65827fdcb4 authored over 9 years ago
Fix pep8 errors.

12f6beb4f4240835ef0ff16b418f01a0ab5db791 authored over 9 years ago
Fix #155, by correctly overloading GenericMeta.__instancecheck__().

d7a7fb77dc61b35728a5773c6811aee6341d8e01 authored over 9 years ago
Merge pull request #154 from ilevkivskyi/master

Switch from T to T_co in Supports..., fixes #142

30cbba698a76ca2b9f8c32e81cb0412b84f518c4 authored over 9 years ago
Switch from T to T_co

Switch from T to T_co in SupportsAbs, SupportsRound, and Reversible

7897261400d06421c90bb3dd498e655f8265fadf authored over 9 years ago
Merge pull request #1 from ambv/master

Update with master

5c6bac62b230495133c412952780d282f8ef8c24 authored over 9 years ago
Merge pull request #144 from ilevkivskyi/master

Prohibit Generic[T,T]

35480d23df7c4eced19bced0d6646d9d8bc24c41 authored over 9 years ago
Merge pull request #153 from o11c/typing-slots

Use `__slots__` in `typing` module.

ca889d198961efa2a8019c8a4b767a747a4cc321 authored over 9 years ago
Use `__slots__` in `typing` module.

This is primarily useful for subclassing `Generic[T]`, but it's easiest
to do it all at once.

764588c97d7407b86560a416f67cf21f72009c17 authored over 9 years ago
Merge pull request #150 from vlasovskikh/fix-ellipsis-in-callable

Don't iterate over ellipsis in Callable when evaluating types. Fix #149

10da00d7cae86ab6dc392e1b25a35455bce9e609 authored over 9 years ago
Don't iterate over ellipsis in Callable when evaluating types. Fix #149

f8a86f00dc9805dfefd60eb66afd65d51ee6de0f authored over 9 years ago
Update typeshed link.

54c0641d1d1c570d9120fb9abde8f2bedf35bfad authored over 9 years ago
Add Python-Version header.

46161884abf2066d085671cd316fd944660c8e3c authored over 9 years ago
Fix formatting of code blocks. (Fixes #146, Andrey Vlasovskikh)

7d4bc9bb0073ed42e3efdbc317383d9011c73195 authored over 9 years ago
Remove stray quote. Fix #145.

ec8167ecf15a8bfa4e9d1647eb54080132ddb544 authored over 9 years ago
Update test_typing.py

Additional test for Generic[T, T]

177beb2912e49a5318f7ef497413346e4b6b0cf5 authored over 9 years ago
Removed redundant TypeVar from Generic

521a9d87e4bacc69dbf0ef77d02182724e661b47 authored over 9 years ago
Update test_typing.py

Test Generic[T,T]

96791e7539988b4393cf6f89ca3180c36d390a5d authored over 9 years ago
Update typing.py

Prohibit Generic[T,T]

0ec2032cdb374b19f5537036925977f2fce60c00 authored over 9 years ago
Mapping key type is invariant. Fix #140.

b5799ef74a53645edc0c2623cfde9e0ecaae7f12 authored over 9 years ago
Clarify isinstance(x, Callable). Drop reference to isinstance() implementation.

95a0b6a9d2f67e917b09c5f16edc92d8da86bb6f authored over 9 years ago
Stop supporting isinstance().

The big exception is isinstance(f, Callable), which is now equivalent
to isinstance(f, collectio...

ac7494fa900f76c7b3342bb6e0389e1543de0071 authored over 9 years ago
Typo fix (thanks Yuval G.).

108609fc90a4f77aeef50aeb4d31dea70d7c2be9 authored over 9 years ago
PEP 484 (type hints) accepted by BDFL-Delegate (Mark Shannon).

f7cacf445017f17aeb1c641ad49bb917c8eb77a4 authored over 9 years ago
Explain tracker labels.

ef0305c35961eac63fc276fcf2c9e0e3852eac30 authored over 9 years ago
Updating post-history.

a3b49ae251951bf91c9f31c10771c4f9a1f62cb2 authored over 9 years ago
Clarify restrictions on type variables.

71bf40014a5c2260c99f05b8b232d55598ca8bdc authored over 9 years ago
Update the description of the type of self/cls arguments

The new explanation is vague but is should not be incorrect.

Fixes #123.

0eb4ebf052a4e003d81cdc7b34a08b002b7123eb authored over 9 years ago
Be more vague about details of type inference

Fixes #121.

e2712800791b9da17ce48f8a66f44b2f228fcb2a authored over 9 years ago
Clarify the relationship between @overload and TypeVar

Fixes #122.

f08f1da307caea51b7b2fa1558ba697ce780bfaa authored over 9 years ago
Fix covariance example and tweak explanation of covariance

Fixes #125.

b54d52f86732820fd2a79d998b17e52d4949bb10 authored over 9 years ago
Strawman support for recursive types (mostly List, Dict, Set). Fixes #132.

585099e61ea04938bfd4da156127ab1b9ad91bb1 authored over 9 years ago
Fix 2-space indents in a few examples. Fixes #124.

c6996d7d0c91a1beedf02f2a24bd833131d349ec authored over 9 years ago
Fix examples for mutual forward references. Fixes #126.

1db4fd5395e053e20e03331461652fe900a899d0 authored over 9 years ago
Rip out PY2, PY3, POSIX, WINDOWS (but say simple version checking should be supported).

Fixes #128.

cf2670aee7a9a2bdb3478ddeecf79fd801a0d630 authored over 9 years ago
Fix inheriting from container ABCs. Fixes #127.

e7aa0d6af2e2a6efc2da778af036ff6eacdcd847 authored over 9 years ago
Fix typo

33ace34d5d7abd65156c8514023b2607f8c18962 authored over 9 years ago
Add Generic to the fundamental things exported by typing.py.

c16caa02eab09fb4cd05d2439bb20580ad43a329 authored over 9 years ago
Add Optional to the misc things exported by typing.py.

dc64edde9d26b03408444a5f5332df015ee1b4d8 authored over 9 years ago
Clarify that generic metaclasses are not supported. Fixes #120.)

777cfe0c9d33bcb62de74aad6cb38ee3cbce7cf3 authored over 9 years ago
Ensure that Node(), Node[T]() and Node[int]() all have the same __class__. Fixes #79.

25af77debdff7f5d0b7cf2a167ead6023789165f authored over 9 years ago
Change the last use of 'interface file' to 'stub file'. (Florian Bruhin, fixes #118.)

90de1f68d5f1bfcb593ce33bcff6bdaf251e9c47 authored over 9 years ago
Clarify how constants are set at runtime. (Florian Bruhin; fixes #117.)

6780862c07d1e2092a88ecff09448b75fcaf3fa9 authored over 9 years ago
Fixes #116 (for realz).

63dd7591f7e9bba62ac1176bca0eb5048a5f731f authored over 9 years ago
Fix typo. Fixes #116.

c12efa0c37e6f915e92c20807ee039a971cbe9cb authored over 9 years ago
Clarify section on type erasure.

b5e4e3d495c7e7a4f2f44a965d565cc9164f5168 authored over 9 years ago
Clarify what happens if you inherit from Mapping[str, T].

Addresses, but does not fix, #115.

98bb46f101d307d0d9990477d8cd5cf1c0ec9485 authored over 9 years ago
Describe type erasure when instantiating a generic class.

This addresses issue #79, but does not fix it (typing.py needs to be
updated to implement type e...

c29a9b93fbf774ac3fe42825a4c40b401fb0fcb0 authored over 9 years ago
Explain that subclassing e.g. Iterable without a parameter means Iterable[Any].

This addresses, but does not fix, issue #85.

4e248ff32155157c6791b7873394e8698dede9c1 authored over 9 years ago
Document "variable = None # type: <some_type>". Fixes #61.

888299f11959d5905b6f2cfae260b62088a653d1 authored over 9 years ago
Rewrite "What is checked" as "The meaning of annotations" per recommendations of Mark Shannon.

Fixes #110.

52b1ff99dbff8e25e0fba86085099aeb94eb8932 authored over 9 years ago
Reorder the description of what's in typing.py from most to least fundamental. Fixes #111.

b612c8ed627d44658bc4c60675877b7e43d0415b authored over 9 years ago
Allow subclassing List[...] etc. (But not Tuple[...].) Fixes #113.

d02f33a52a3098163a97fbff013588b08e35d041 authored over 9 years ago
Fix long lines.

5904e3d45122d2a477327167c32349ab70c08df7 authored over 9 years ago
Forward references should be types. Fixes #114.

6338be6c87a5106994c5df57cd68ac3b6d21db75 authored over 9 years ago
Describe type vars with co/contra variance. Fixes #2.

5f110c7992051c40bc6fd92f0575f3b108c4ce07 authored over 9 years ago
Add type variables with upper bound. (Fixes issue #59.)

bc6276d16cf20e9ebccb8c7b127f7e5cd7192cad authored over 9 years ago
Add SupportsBytes and SupportsComplex. Fixes #68.

d2d21f1bb99ce23ba4e1fd762b1cd4fdfa31fddc authored over 9 years ago
Mention the typeshed repo. Fixes #80.

4c27808afb23e64f784f61131498162ab4f6cd4c authored over 9 years ago
Clarify that TypeVar constraints must be 2 or more. Also make the next paragraph normative.

Fixes issue #82.

a3148dce1bc8674adec3f54a3db757c2f2272283 authored over 9 years ago
In a stub, default values may be "...". Closes issue #57.

dba1e0d91a7d5673c41626a58f5e169f02d72c94 authored over 9 years ago
Clarify complex / float / int compatibility, and memoryview / bytearray / bytes.

Closes issue #48.
Closes issue #83.

f6c17dd8ccca955374e465172de44e04b0a6c037 authored over 9 years ago
Document "x = ... # type: <type>" for use in stubs. Closes #81.

924f693000a51e860bead6238a298a40b41e6cca authored over 9 years ago
Clarify that imports into stubs are not exported unless using "as".

Closes issue #22.

4215e097685c09d5e78c3b01fb5d226bbba3df03 authored over 9 years ago
Be explicit about type variables in generic container classes. See issue #85.

37aa1fd38cc38b9f8fec9aa34390b152a3d9d8e3 authored over 9 years ago
Avoid toplevel import inspect (moved it into Callable.__instancecheck__).

c4c67d37daba2af4ff9578aeac399b67208e2877 authored over 9 years ago
Misc edits recommended by Mark Shannon.

0237eaa7666319a2e8d11bbe464276d37910ab0f authored over 9 years ago
Add reference to "implicit goal to use them for type hinting"; weaken "performance optimization".

21898686786ce271cb898726960810775c30577e authored over 9 years ago
Change a few uses of "class" to "type". (Also delete trailing whitespace.)

b5e0320b0d0b0669a1e6970829e2378a59b0deb2 authored over 9 years ago
Recommend ... instead of pass in stub functions. Closes #109.

2a11920f777425f5a48b65bc1dc6ba3278dc9e59 authored over 9 years ago
Redo subclassing for TypeVar. Kill bind(). Fixes #62.

529c11b0fe23250bbe4fa5f28f76c4b4de45af0e authored over 9 years ago
Typo fix (PR #108).

9187e727369812f2abb9e814202187d58a4dd48f authored almost 10 years ago
Discuss issue #105 and a solution. (I accidentally did this in the peps repo first.)

daf2a098358bd372348d51a5fe85e67538829bc7 authored almost 10 years ago
Clarify default annotations.

0916b3cdbbcc6c4b3c60ad2d71a6390ade39e58f authored almost 10 years ago
Do not require that all args are annotated; merely recommend it.

51a4073ca05c5547758e63d0321a56cbc37c7ea2 authored almost 10 years ago
Merge pull request #93 from JimJJewett/master

"what is OK as a hint" vs "how to write a hint"

4a9b2ee514cba9502bc0f732d7196da7fbd311f2 authored almost 10 years ago
typos

e51ba24eab00e3b56cd38c564b27b1d840f47597 authored almost 10 years ago
"what is OK as a hint" vs "how to write a hint"

Break apart the lists of what what is OK as a hint (classes, etc) from how the hints are represe...

6ed1fa6af1b41dfbf0e0617700c2be9e211f135e authored almost 10 years ago
Merge pull request #90 from JimJJewett/master

Allay fears about idiomatic python becoming far more verbose

19501801592b360fffa7feea6aaf7a5f16b4b2b9 authored almost 10 years ago
Merge pull request #1 from JimJJewett/JimJJewett-patch-1

Clarify pep-0484 as opt-in conventions only like WSGI

eb0f945bcbd22edd2b7eccbca4578b631997b840 authored almost 10 years ago