Commit Graph

3 Commits

Author SHA1 Message Date
Guido van Rossum
79e434d9e5 Mapping key type is invariant. 2015-06-07 13:36:19 -07:00
Guido van Rossum
43a79cc552 Update typing.py: remove isinstance() support (Mark struck it from the PEP). 2015-06-03 19:04:42 -07:00
Guido van Rossum
46dbb7d103 Preliminary typing.py, anticipating provisional acceptance of PEP 484.
There area bunch of TODOs here, but the biggest (not mentioned in the
file) is that I'm going to take out __instancecheck__ and
__subclasscheck__.  However my personal schedule is such that I
probably won't have time for these before Larry tags beta 1.  But I
will try -- this commit is mostly to make sure that typing.py doesn't
completely miss the train.

PS. I'm tracking issues at https://github.com/ambv/typehinting/issues.
2015-05-22 10:14:11 -07:00