Antoine Pitrou <pit...@free.fr> added the comment: > > Something has gone out of control here. Why do we need to check so many > > alternative locations? > > What change do you propose?
First, I don't understand why we need to check both "foo.so" and "foomodule.so". Second, I don't understand why we need to check both "foo.cpython32.so" and "foo.so". If you fix both these, the number of stat() calls per would-be extension module goes down from 6 to 2 per directory path. Then there seems to be a couple of redundant stat/fstat calls on some files. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11051> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com