Message41779
Logged In: YES
user_id=92689
Whoops, that was a useless patch :-( I managed to forgot to
copy the last three lines of the original scan_code() which
takes care of delayed imports... Fixed in the new patch.
I now also patched Modulefinder.report() to actually use the
new any_missing_maybe() feature.
(Note for the lib doco to be written: we should document
that people should use any_missing[_maybe]() instead of
looking directly at mf.badmodules. mf.badmodules is the raw
list, any_missing_maybe() filters out the false positives.)
I've ran before/after tests on all of Lib/*.py and
Lib/test_*.py and the only differences I found are those
that this patch address, ie. less false positives when
reporting missing modules. |
|
Date |
User |
Action |
Args |
2007-08-23 15:18:31 | admin | link | issue643711 messages |
2007-08-23 15:18:31 | admin | create | |
|