- 31 Dec, 2002 40 commits
-
-
Raymond Hettinger authored
-
Fred Drake authored
now derive from InterpolationError, which is not raised directly (only subclasses get raised). This matches what the docs already said.
-
Skip Montanaro authored
a month or two with great success. Barry may want to tweak it some, but I think it's a worthwhile enough addition to get some more people trying it out.
-
Tony Lownds authored
-
Just van Rossum authored
-
Raymond Hettinger authored
-
Guido van Rossum authored
645404). I'm not 100% sure this is the right fix, so I'll keep the bug report open for Samuele, but this fixes the index error and passes the test suite (and I can't see why it *shouldn't* be the right fix :-).
-
Just van Rossum authored
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
-
Raymond Hettinger authored
Cleanup whitespace. Fix unbalanced parenthesis.
-
Just van Rossum authored
-
Neal Norwitz authored
-
Kurt B. Kaiser authored
-
Tim Peters authored
docs. Replaced it with an XXX block, because the hoped-for treatment of DST endcases remains unclear (Guido doesn't really like raising an exception when it's impossible to deliver a correct result, but so far I have no way in hand to consistently deliver a defined incorrect result either).
-
Just van Rossum authored
-
Guido van Rossum authored
-
Eric S. Raymond authored
-
Fred Drake authored
we'll simply revert to \mailheader since there's no other good name.
-
Fred Drake authored
- some minor cleanups
-
Martin v. Löwis authored
-
Raymond Hettinger authored
Fix a curly brace that should have been a paren.
-
Andrew M. Kuchling authored
Add some times
-
Guido van Rossum authored
-
Neal Norwitz authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Document that getatime and getmtime may return floats.
-
Martin v. Löwis authored
-
Neal Norwitz authored
-
Martin v. Löwis authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Andrew MacIntyre authored
-
Andrew MacIntyre authored
-
Andrew MacIntyre authored
-
Andrew MacIntyre authored
-
Andrew MacIntyre authored
-
Andrew MacIntyre authored
-
Andrew MacIntyre authored
- add new modules (zipimport, datetime, _random, bz2, _symtable) - build pyexpat with expat sources from Python distribution - regression test with and without compiled bytecode
-
Just van Rossum authored
-
Just van Rossum authored
- whitespace normalization
-