Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The big exception is isinstance(f, Callable), which is now equivalent to isinstance(f, collections.abc.Callable). Also other enhanced ABCs that shadow ABCs from collections.abc still support isinstance() -- but not the concrete classes (List, Dict, Set, FrozenSet). I'm sad to see the original Callable.__instancecheck__ go, but Mark Shannon's right that isinstance() with a type argument is just poorly defined. Fixes #135.
- Loading branch information