Commits

Anonymous committed 01547d4

[svn r3588] Make that __future__ addition conditional on Python 2.3

  • Participants
  • Parent commits a2b37e2

Comments (0)

Files changed (1)

File virtualenv.py

                     'fnmatch', 'locale', 'encodings', 'codecs',
                     'stat', 'UserDict', 'readline', 'copy_reg', 'types',
                     're', 'sre', 'sre_parse', 'sre_constants', 'sre_compile',
-                    'lib-dynload', 'config', 'zlib', '__future__']
+                    'lib-dynload', 'config', 'zlib']
 
 if sys.version_info[:2] == (2, 6):
     REQUIRED_MODULES.extend(['warnings', 'linecache', '_abcoll', 'abc'])
 if sys.version_info[:2] <= (2, 3):
-    REQUIRED_MODULES.append('sets')
+    REQUIRED_MODULES.extend(['sets', '__future__'])
 
 class Logger(object):