Commits

Waldemar Kornewald  committed eaa90d0

fixed io module support for Python 2.7 on OS X

  • Participants
  • Parent commits 79f1b30

Comments (0)

Files changed (1)

                          'The subprocess module will not work correctly.')
 
         try:
-            # Allow importing compiler/parser and _ssl modules (for https)
+            # Allow importing compiler/parser, _ssl (for https),
+            # _io for Python 2.7 io support on OS X
             dev_appserver.HardenedModulesHook._WHITE_LIST_C_MODULES.extend(
-                ('parser', '_ssl'))
+                ('parser', '_ssl', '_io'))
         except AttributeError:
             logging.warn('Could not patch modules whitelist. '
                          'The compiler and parser modules will not work and '