Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix comments on safe_isinstance() (#602)
isinstance() is even less safe than I thought. Proof: ``` >>> class X: ... @Property ... def __class__(self): 1/0 ... >>> isinstance(X(), int) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "<stdin>", line 3, in __class__ ZeroDivisionError: division by zero ```
- Loading branch information