,当我尝试运行python->帮助() - >模块,我得到这个:的Python模块段错误
% python
Python 2.7.1 (r271:86832, Apr 13 2012, 11:08:33) [C] on sunos5
>>> help()
help> modules
Please wait a moment while I gather a list of all available modules...
file ghash.c: line 875: assertion `hash_table->ref_count > 0' failedfile ghash.c: line 875: assertion `hash_table->ref_count > 0' failed
Segmentation Fault
就这样,倒不言而喻。我的问题是为什么?以及我如何解决它?
我可以在代码中正常访问模块,但无法从帮助菜单中调出列表。来自帮助的其他标签也可以正常工作。它只是这一个打破
有趣。我无法重现这一点。 – mgilson 2012-07-10 19:10:57
@mgilson:它是* a *扩展模块,但可能不是stdlib中的一个。 – 2012-07-10 19:14:26