summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* catch up with zipimport changes to std getpathp.cAndrew MacIntyre2003-01-021-3/+25
|
* bring structure closer to std config.c, whitespace normalisationAndrew MacIntyre2003-01-021-30/+44
|
* fix a merge mistake - readline not built by defaultAndrew MacIntyre2003-01-021-1/+1
|
* - documented Ellipsis, NotImplementedFred Drake2003-01-021-9/+20
| | | | | - minor markup changes - indented for consistency with newer content
* Add dependency info for the recently added lib/libconsts.tex.Fred Drake2003-01-021-0/+1
|
* Document that apply() is deprecated. See:Fred Drake2003-01-021-0/+3
| | | | http://mail.python.org/pipermail/python-dev/2003-January/031556.html
* Completed astimezone's correctness proof. That doesn't mean it'sTim Peters2003-01-021-4/+51
| | | | | correct by your lights, it means that-- barring coding errors --it implements what it intended to implement.
* Clearing out old patch queue. Patch #558547, make SocketServer moreAnthony Baxter2003-01-021-1/+2
| | | | | robust. This makes socketserver's close() method callable repeatedly without error - similar to other file-like objects.
* Add byext.pyGuido van Rossum2003-01-021-0/+1
|
* A quicker astimezone() implementation, rehabilitating an earlierTim Peters2003-01-013-71/+199
| | | | | | | | | | | | | | | | | | | suggestion from Guido, along with a formal correctness proof of the trickiest bit. The intricacy of the proof reveals how delicate this is, but also how robust the conclusion: correctness doesn't rely on dst() returning +- one hour (not all real time zones do!), it only relies on: 1. That dst() returns a (any) non-zero value if and only if daylight time is in effect. and 2. That the tzinfo subclass implements a consistent notion of time zone. The meaning of "consistent" was a hidden assumption, which is now an explicit requirement in the docs. Alas, it's an unverifiable (by the datetime implementation) requirement, but so it goes.
* mention built-in constants.Skip Montanaro2003-01-011-2/+4
|
* process libconsts.texSkip Montanaro2003-01-011-0/+1
|
* new section - builtin constantsSkip Montanaro2003-01-011-0/+20
|
* add find-uname.pySkip Montanaro2003-01-011-0/+1
|
* Search for Unicode character names using regular expressions.Skip Montanaro2003-01-011-0/+40
|
* Split OPT make variable into OPT and BASECFLAGS. The latter contains thoseSkip Montanaro2003-01-015-1452/+748
| | | | | | | | | | | compiler flags which are necessary to get a clean compile. The former is for user-specified optimizer, debug, trace fiddling. See patch 640843. Add /sw/lib and /sw/include to setup.py search paths on Darwin to take advantage of fink goodies. Add scriptsinstall target to Makefile to install certain scripts from Tools/scripts directory.
* Move _PyInt_Init() into pythonrun.h, since all the other _Init()Neal Norwitz2003-01-012-1/+1
| | | | functions are here. Suggested by Skip.
* Revert last change -- test works on HPUX again after Martin's checkinNeal Norwitz2003-01-011-3/+2
| | | | | | to 'properly configure the slave terminal' See SF patch # 656590 for the details.
* Silly little script to print statistics (files, lines, words) byGuido van Rossum2003-01-011-0/+116
| | | | extension. Could use some work, but already very useful.
* Expose I_ constants. Auto-detect stropts.h. Properly configure the slave ↵Martin v. Löwis2003-01-017-7/+98
| | | | terminal.
* Revert merge from 2.3 alpha 1 release branch; the change does notFred Drake2003-01-011-1/+1
| | | | apply to the trunk.
* datetimetz_astimezone(): Speed optimizations -- although I'd ratherTim Peters2003-01-011-32/+38
| | | | | | | | | find a more elegant algorithm (OTOH, the hairy new implementation allows user-written tzinfo classes to be elegant, so it's a big win even if astimezone() remains hairy). Darn! I've only got 10 minutes left to get falling-down drunk! I suppose I'll have to smoke crack instead now.
* The failure of the last-second addition to the timezone coversion test isTim Peters2003-01-011-4/+12
| | | | | | understood now: it can't work. Added comments explaining why (it's "the usual"-- unrepresentable hours in local time --but in a slightly different guise).
* Merging in changes from r23a1-branch. Doc/makefile had conflicts, whichTim Peters2003-01-012-1/+7
| | | | I leave to Fred to sort out.
* More installation info. Bump alpha version.Kurt B. Kaiser2003-01-012-7/+11
|
* Debugger was tracing through rpc.py when IDLEfork was not startedKurt B. Kaiser2003-01-011-21/+19
| | | | | from its source directory. Generalize the "workaround" (though the latter seems a reasonable solution?) to handle this.
* Improve exception handling.Kurt B. Kaiser2002-12-313-6/+6
|
* Try to get compilation working for cygwinNeal Norwitz2002-12-311-3/+6
|
* Patch #660485: Cygwin _tkinter Tcl/Tk 8.3 patchJason Tishler2002-12-312-13/+19
| | | | | | | The attached patch enables Cygwin Python to build cleanly against the latest Cygwin Tcl/Tk which is based on Tcl/Tk 8.3. It also prevents building against the real X headers, if installed.
* The trunk is (nominally) post-alpha.Fred Drake2002-12-312-2/+2
|
* Merge to trunk from release branch:Guido van Rossum2002-12-311-0/+1
| | | | Plug the leak that Tim just reported.
* 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.