Replacement of a "type() is" by a "isinstance()"
Ignore Python 3 __pycache__ folders