https://github.com/python/typeshed/commit/e45f443d8530f0dd9f9022720a994f222da6f0fd changed the definition of functools.partial from a class to a function. Things like isinstance() now cause spurious errors.