Files
cpython/Lib
Just van Rossum e29310a2b3 patch attached to sf item #643711:
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
2002-12-31 16:33:00 +00:00
..
2002-12-16 13:54:02 +00:00
2002-12-24 18:31:27 +00:00
2002-12-31 16:03:23 +00:00
2002-06-11 06:22:31 +00:00
2002-11-23 12:09:28 +00:00
2002-10-28 18:09:41 +00:00
2002-12-26 18:22:54 +00:00
2002-12-31 01:08:35 +00:00
2002-10-30 06:09:58 +00:00
2002-08-04 17:22:59 +00:00
2002-11-13 14:38:17 +00:00
2002-11-24 02:35:35 +00:00
2002-12-16 13:11:57 +00:00
2002-11-24 02:35:35 +00:00
2002-11-30 03:53:15 +00:00
2002-11-09 05:08:07 +00:00
2002-06-01 16:07:16 +00:00
2002-11-24 02:35:35 +00:00
2002-10-09 17:23:29 +00:00
2002-12-17 16:15:34 +00:00
2002-06-01 16:07:16 +00:00
2002-12-16 13:11:57 +00:00
2002-06-02 00:40:05 +00:00
2002-06-02 00:40:05 +00:00
2002-12-30 22:08:05 +00:00
2002-11-22 14:22:49 +00:00
2002-11-09 05:08:07 +00:00
2002-02-08 20:41:34 +00:00
2002-08-15 14:59:02 +00:00
2002-10-11 14:36:24 +00:00
2002-10-16 21:21:39 +00:00
2002-07-16 21:35:23 +00:00
2002-11-25 17:25:04 +00:00
2002-11-01 17:14:16 +00:00
2002-12-12 12:23:32 +00:00