Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF #841977 - modulefinder fails to find extension modules in packages | Thomas Heller | 2003-11-14 | 1 | -1/+6 |
| | | | | | | | | | | | The find_all_submodules() method in modulefinder only looks for *.py, *.pyc, and *.pyo files. Python extension modules are only found if they are referenced in import statements somewhere. This patch uses the actual list from imp.get_suffixes(). Backported myself. | ||||
* | up the b/w compatibility requirement to 2.2 | Just van Rossum | 2003-07-18 | 1 | -1/+1 |
| | |||||
* | Patch #698082 from Thomas Heller: Modulefinder didn't exclude modules | Just van Rossum | 2003-03-05 | 1 | -4/+4 |
| | | | | in packages correctly. | ||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 1 | -2/+2 |
| | |||||
* | removed bizarre construct, no idea why it was there... | Just van Rossum | 2003-02-01 | 1 | -1/+0 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-01-29 | 1 | -3/+3 |
| | |||||
* | patch attached to sf item #643711: | Just van Rossum | 2002-12-31 | 1 | -49/+150 |
| | | | | | | | | | | | | | | | | | | | | | any_missing() returns less bogus missing modules. - I've rewritten scan_code() more or less from scratch, factored bits and pieces out for readability. - keep track of global assignments and failed imports per module; use this to determine whether the Y in "from X import Y" is a submodule or just a global name. This is not 100% doable: you can't tell which symbols are imported when doing a star import of a non-Python module short of actually importing it. - added a new method to ModuleFinder: any_missing_maybe(), which returns *two* lists, one with certain misses, one with possible misses. The possible misses are *very* often false alarms, so it's useful to keep this list separate. any_misses() now simply returns the union of any_missing_maybe(). TODO: documentation, test_modulefinder.py | ||||
* | moving modulefinder.py to the standard library | Just van Rossum | 2002-12-31 | 1 | -0/+486 |