equal
deleted
inserted
replaced
181 # consider them stdlib. |
181 # consider them stdlib. |
182 for m in ['msvcrt', '_winreg']: |
182 for m in ['msvcrt', '_winreg']: |
183 yield m |
183 yield m |
184 yield 'builtins' # python3 only |
184 yield 'builtins' # python3 only |
185 for m in 'fcntl', 'grp', 'pwd', 'termios': # Unix only |
185 for m in 'fcntl', 'grp', 'pwd', 'termios': # Unix only |
|
186 yield m |
|
187 for m in 'cPickle', 'datetime': # in Python (not C) on PyPy |
186 yield m |
188 yield m |
187 stdlib_prefixes = set([sys.prefix, sys.exec_prefix]) |
189 stdlib_prefixes = set([sys.prefix, sys.exec_prefix]) |
188 # We need to supplement the list of prefixes for the search to work |
190 # We need to supplement the list of prefixes for the search to work |
189 # when run from within a virtualenv. |
191 # when run from within a virtualenv. |
190 for mod in (BaseHTTPServer, zlib): |
192 for mod in (BaseHTTPServer, zlib): |