Anonymous avatar Anonymous committed 98d7306

default_config: add a few other missing builtin modules

Comments (0)

Files changed (1)

rope/base/default_config.py

     # Builtin and c-extension modules that are allowed to be imported
     # and inspected by rope.
     prefs['extension_modules'] = [
-        'array', 'binascii', 'cmath', 'bz2', 'collections', 'cPickle', 'crypt',
-        'cStringIO', 'datetime', 'errno', 'exceptions', 'gc', 'grp', 'imp',
-        'itertools', 'marshal', 'math', 'mmap', 'nt', 'operator', 'posix',
-        'pwd', 'select', 'signal', 'sys', 'thread', 'unicodedata', 'zlib',
-        'zipimport']
+        '_bisect', '_bytesio', '_collections', '_ctypes',
+        '_curses', '_csv', '_elementtree', '_fileio',
+        '_functools', '_heapq', '_hotshot', '_json',
+        '_locale', '_lsprof', '_md5', '_multibytecodec',
+        '_multiprocessing', '_random', '_sha', '_socket',
+        '_ssl', '_struct', '_weakref',
+        'array', 'binascii', 'cmath', 'bz2', 'collections',
+        'cPickle', 'crypt', 'cStringIO', 'datetime', 'dl',
+        'errno', 'exceptions', 'fcntl', 'gc', 'grp', 'imageop',
+        'imp', 'itertools', 'marshal', 'math', 'mmap', 'nis',
+        'nt', 'operator', 'parser', 'posix', 'pwd', 'pyexpat',
+        'resource', 'select', 'signal', 'strop', 'swpd', 'sys',
+        'syslog', 'thread', 'time', 'termios', 'unicodedata',
+        'zlib', 'zipimport']
 
     # If `True` modules with syntax errors are considered to be empty.
     # The default value is `False`; When `False` syntax errors raise
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.