summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make two tests non-locale-dependentBarry Warsaw2002-12-311-2/+2
|
* Results of a rewrite passAndrew M. Kuchling2002-12-311-258/+251
|
* - use classdesc where we can (for better indexing)Fred Drake2002-12-311-35/+42
| | | | - more style consistency crud
* Replace all but one explicit emit('SET_LINENO') with call to set_lineno().Jeremy Hylton2002-12-311-8/+2
| | | | | | Remove broken code in visitDict(). I assume the code was trying to add set lineno events for each line of a dict constructor, but I think it was using the wrong object (node instead of k or v).
* Don't let the docstring end up in __main__.__doc__Tony Lownds2002-12-311-14/+14
|
* test01_close_dbenv_before_db(): Added an XXX comment that this test isBarry Warsaw2002-12-311-0/+2
| | | | BerkeleyDB version dependent.
* Comment out test, since it hangs on HPUX, still investigatingNeal Norwitz2002-12-311-2/+3
|
* SF patch [ 597919 ] compiler package and SET_LINENOJeremy Hylton2002-12-316-50/+79
| | | | | | | | | | | | | | | | | A variety of changes from Michael Hudson to get the compiler working with 2.3. The primary change is the handling of SET_LINENO: # The set_lineno() function and the explicit emit() calls for # SET_LINENO below are only used to generate the line number table. # As of Python 2.3, the interpreter does not have a SET_LINENO # instruction. pyassem treats SET_LINENO opcodes as a special case. A few other small changes: - Remove unused code from pycodegen and pyassem. - Fix error handling in parsermodule. When PyParser_SimplerParseString() fails, it sets an exception with detailed info. The parsermodule was clobbering that exception and replacing it was a generic "could not parse string" exception. Keep the original exception.
* General style conformance. Markup some unmarked constructs.Fred Drake2002-12-311-449/+478
|
* Update (slightly) for Alpha releaseKurt B. Kaiser2002-12-311-0/+7
|
* Remove bogus test; the master is not a terminal on Solaris and HP-UX.Martin v. Löwis2002-12-311-2/+0
|
* Move history to HISTORY.txtKurt B. Kaiser2002-12-311-0/+122
|
* Update for Alpha 0 ReleaseKurt B. Kaiser2002-12-312-182/+61
|
* Add recipe for creating NEWS.html.Guido van Rossum2002-12-311-0/+11
|
* A new, and much hairier, implementation of astimezone(), building onTim Peters2002-12-312-110/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | an idea from Guido. This restores that the datetime implementation never passes a datetime d to a tzinfo method unless d.tzinfo is the tzinfo instance whose method is being called. That in turn allows enormous simplifications in user-written tzinfo classes (see the Python sandbox US.py and EU.py for fully fleshed-out examples). d.astimezone(tz) also raises ValueError now if d lands in the one hour of the year that can't be expressed in tz (this can happen iff tz models both standard and daylight time). That it used to return a nonsense result always ate at me, and it turned out that it seemed impossible to force a consistent nonsense result under the new implementation (which doesn't know anything about how tzinfo classes implement their methods -- it can only infer properties indirectly). Guido doesn't like this -- expect it to change. New tests of conversion between adjacent DST-aware timezones don't pass yet, and are commented out. Running the datetime tests in a loop under a debug build leaks 9 references per test run, but I don't believe the datetime code is the cause (it didn't leak the last time I changed the C code, and the leak is the same if I disable all the tests that invoke the only function that changed here). I'll pursue that next.
* Eliminate C++ comment.Martin v. Löwis2002-12-311-1/+1
|
* Use funcdesc instead of classdesc to be consistent with out sections.Raymond Hettinger2002-12-311-4/+4
|
* Further cleanup of exceptions. All interpolation-related exceptionsFred Drake2002-12-312-33/+49
| | | | | now derive from InterpolationError, which is not raised directly (only subclasses get raised). This matches what the docs already said.
* Bernhard Herzog's paragraph and string-filling code. I've been using it forSkip Montanaro2002-12-311-0/+152
| | | | | | 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.
* Keep __main__ namespace cleanTony Lownds2002-12-311-1/+1
|
* modulefinder.py moved to Lib/Just van Rossum2002-12-311-0/+5
|
* Spelling fixRaymond Hettinger2002-12-311-1/+1
|
* Fix an out-of-bound index in pmerge() discovered by Zooko (SF bugGuido van Rossum2002-12-311-1/+2
| | | | | | | 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 :-).
* patch attached to sf item #643711:Just van Rossum2002-12-311-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
* Add markup for time object.Raymond Hettinger2002-12-311-22/+23
| | | | | Cleanup whitespace. Fix unbalanced parenthesis.
* moving modulefinder.py to the standard libraryJust van Rossum2002-12-311-0/+0
|
* Fix compilation errors on HPUX11Neal Norwitz2002-12-311-3/+3
|
* Whitespace NormalizationKurt B. Kaiser2002-12-3123-322/+306
|
* Removed the now-untrue (or soon-to-be untrue) part of the astimezone()Tim Peters2002-12-311-10/+7
| | | | | | | | 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).
* removed unused get_short() functionJust van Rossum2002-12-311-14/+0
|
* Set the release date.Guido van Rossum2002-12-311-1/+1
|
* Document the new ,netrc awareness in nntplib.Eric S. Raymond2002-12-311-2/+3
|
* Barry raised reasonable objections to the macro name \mimeheader, soFred Drake2002-12-311-1/+1
| | | | we'll simply revert to \mailheader since there's no other good name.
* - correct the deprecation markups so this formats againFred Drake2002-12-311-9/+7
| | | | - some minor cleanups
* Restore signalhandler in case of error. Fix type of signal handler.Martin v. Löwis2002-12-311-3/+9
|
* Complete the markup for timedelta objects.Raymond Hettinger2002-12-311-36/+28
| | | | Fix a curly brace that should have been a paren.
* Add posix.loadavg()Andrew M. Kuchling2002-12-311-8/+7
| | | | Add some times
* Revert SF patch 659809 -- it causes double options that can cause breakage.Guido van Rossum2002-12-312-6/+3
|
* Use the name (path) specified in the parameter listNeal Norwitz2002-12-311-4/+4
|
* Add getloadavg.Martin v. Löwis2002-12-311-2/+2
|
* Patch #658927: Add getctime to os.path.Martin v. Löwis2002-12-316-6/+30
| | | | Document that getatime and getmtime may return floats.
* Patch #656590: /dev/ptmx support for ptys.Martin v. Löwis2002-12-316-10/+76
|
* Make sure zip_path is null-terminated, since it's on the stackNeal Norwitz2002-12-311-0/+1
|
* Document standard encodings.Martin v. Löwis2002-12-311-0/+343
|
* Make sure zip_path is null-terminated, since it's on the stackNeal Norwitz2002-12-311-0/+1
|
* SmartCookie and SerialCookie were recently deprecatedNeal Norwitz2002-12-311-0/+2
|
* InterpolationSyntaxError was added in 2.3Neal Norwitz2002-12-311-0/+1
|
* OS/2 EMX has no popen2.Popen3 even though bunzip2 is availableAndrew MacIntyre2002-12-311-1/+1
|
* add list of expected skips for the OS/2 EMX portAndrew MacIntyre2002-12-311-0/+28
|
* DLL export definition refreshAndrew MacIntyre2002-12-311-18/+73
|