1.1 --- a/micropython/__init__.py Mon Jun 13 00:18:13 2011 +0200
1.2 +++ b/micropython/__init__.py Mon Jun 13 20:59:00 2011 +0200
1.3 @@ -125,7 +125,7 @@
1.4 last_module = self.importer.modules_ordered[-1]
1.5
1.6 for module in self.importer.modules_ordered:
1.7 - suppress_builtins = not with_builtins and module.name == "__builtins__"
1.8 + suppress_builtins = not with_builtins and module.name in ("__builtins__", "native")
1.9
1.10 # Position the module in the image and make a translation.
1.11
1.12 @@ -249,7 +249,7 @@
1.13
1.14 for module in self.importer.modules_ordered:
1.15
1.16 - if not with_builtins and module.name == "__builtins__":
1.17 + if not with_builtins and module.name in ("__builtins__", "native"):
1.18 continue
1.19
1.20 module.code_location = module.blocks[0].location