micropython/micropython — pull request #382 by pfalcon (2014-03-28 00:41:04+00:00)
Title: objgenerator: close(): Throw instance of GeneratorExit (not type).

To comply with Python semantics and allow use of mp_obj_is_subclass_fast()
for exception matching.