Maciej Fijalkowski  committed babd551

put OrderedDict back in the namespace

  • Participants
  • Parent commits 4237a1d

Comments (0)

Files changed (1)

File lib-python/2.7/

     # Execute the template string in a temporary namespace and
     # support tracing utilities by setting a value for frame.f_globals['__name__']
-    namespace = {'__name__': 'namedtuple_%s' % typename}
+    namespace = {'__name__': 'namedtuple_%s' % typename,
+                 'OrderedDict': OrderedDict}
         exec template in namespace
     except SyntaxError, e: