micropython/micropython — pull request #427 by pfalcon (2014-04-04 17:10:52+00:00)
Title: py: Put default namespace into module __main__.

That's how CPython has it, in particular, "import __main__" should work.