From 85c93d7ed573c76bc3f4330dd6fa9b61dd6ca73e 2008-04-09 22:13:04 From: Ville M. Vainio Date: 2008-04-09 22:13:04 Subject: [PATCH] import completer finds .pyd files --- diff --git a/IPython/Extensions/ipy_completers.py b/IPython/Extensions/ipy_completers.py index 10ed5dc..e42c263 100644 --- a/IPython/Extensions/ipy_completers.py +++ b/IPython/Extensions/ipy_completers.py @@ -92,7 +92,7 @@ def moduleList(path): folder_list = [p for p in folder_list \ if os.path.exists(os.path.join(path, p,'__init__.py'))\ or p[-3:] in ('.py','.so')\ - or p[-4:] in ('.pyc','.pyo')] + or p[-4:] in ('.pyc','.pyo','.pyd')] folder_list = [os.path.basename(p).split('.')[0] for p in folder_list] return folder_list