Comment 2 for bug 997272

Revision history for this message
Jean-Paul Calderone (exarkun) wrote :

Perhaps? It seems this particular case could be solved by recognizing the newer naming convention for extension modules and not loading extensions that the current Python runtime wouldn't load (perhaps with a warning?).

Actually, the misbehavior is a little worse. My tree actually has _both_ CPython _and_ PyPy builds of these extension modules. pydoctor should pick up the CPython version when running on CPython and ignore the PyPy version.

    exarkun@top:~/Projects/Twisted/trunk$ find -name '*.so'
    ./twisted/runner/portmap.pypy-14.so
    ./twisted/runner/portmap.so
    ./twisted/test/raiser.so
    ./twisted/python/_initgroups.so
    ./twisted/python/_initgroups.pypy-14.so
    ./twisted/python/sendmsg.pypy-14.so
    ./twisted/python/sendmsg.so
    ./twisted/internet/_sigchld.pypy-14.so
    ./twisted/internet/_sigchld.so
    exarkun@top:~/Projects/Twisted/trunk$