Re: [PATCH 1/3] Use isinstance instead of type for doing type checks.