diff options
author | Robert Bradshaw <robertwb@gmail.com> | 2015-10-14 00:52:42 -0700 |
---|---|---|
committer | Robert Bradshaw <robertwb@gmail.com> | 2015-10-14 00:52:42 -0700 |
commit | 64a34cf26bcf72aead89aff4384a5c655cd55fa1 (patch) | |
tree | 3830fc5c36ce533c324f8f0d2510f28677ee7859 /Cython/Compiler/ModuleNode.py | |
parent | ec1c92ee169e014cc12e5f3ef99d5ec0150d3228 (diff) | |
download | cython-64a34cf26bcf72aead89aff4384a5c655cd55fa1.tar.gz |
Squash some non-determanism in entry code generation.
Diffstat (limited to 'Cython/Compiler/ModuleNode.py')
-rw-r--r-- | Cython/Compiler/ModuleNode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Compiler/ModuleNode.py b/Cython/Compiler/ModuleNode.py index 257c920d5..1de9dc93e 100644 --- a/Cython/Compiler/ModuleNode.py +++ b/Cython/Compiler/ModuleNode.py @@ -2461,7 +2461,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode): entry.type.global_init_code(entry, 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 and not entry.is_type and entry.scope is env): |