Commit 64a34cf2 authored by Robert Bradshaw's avatar Robert Bradshaw

Squash some non-determanism in entry code generation.

parent ec1c92ee
...@@ -2461,7 +2461,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): ...@@ -2461,7 +2461,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
entry.type.global_init_code(entry, code) entry.type.global_init_code(entry, code)
def generate_wrapped_entries_code(self, env, code): def generate_wrapped_entries_code(self, env, code):
for name, entry in env.entries.items(): for name, entry in sorted(env.entries.items()):
if (entry.create_wrapper if (entry.create_wrapper
and not entry.is_type and not entry.is_type
and entry.scope is env): and entry.scope is env):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment