Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | main(): Slightly more informative error message when TokenError | Barry Warsaw | 2001-02-26 | 1 | -1/+5 |
| | | | | occurs. Also, continue processing. | ||||
* | (py-parse-state): Teach python-mode how to scan code which follows | Barry Warsaw | 2001-02-24 | 1 | -3/+11 |
| | | | | multi-line list comprehensions. | ||||
* | Shuffle premature decref; nuke unreachable code block. | Tim Peters | 2001-02-23 | 1 | -9/+3 |
| | | | | | Fixes the "debug-build -O test_builtin.py and no test_b2.pyo" crash just discussed on Python-Dev. | ||||
* | Hide the ProgressBar before raising KeyboardInterrupt. Not doing so resulted ↵ | Jack Jansen | 2001-02-23 | 1 | -2/+8 |
| | | | | in a hang on Carbon. | ||||
* | Turn on the "multifinder aware" bit. This should always have been on, but ↵ | Jack Jansen | 2001-02-23 | 1 | -1/+1 |
| | | | | was was never a problem that it was off until CarbonLib 1.1 (which requires it, for some reason). | ||||
* | Do not hide a failure to create a temporary file; if it fails the work | Fred Drake | 2001-02-23 | 1 | -5/+1 |
| | | | | | | | will not have been done, and applications need to know that. Also, do not print a message about it; the exception is the right thing. This closes SF bug #133717. | ||||
* | Minor adjustments, including markup corrections. | Fred Drake | 2001-02-23 | 1 | -5/+6 |
| | |||||
* | Fix extra backslash in example. | Fred Drake | 2001-02-23 | 1 | -4/+1 |
| | |||||
* | Another name. | Fred Drake | 2001-02-23 | 1 | -0/+1 |
| | |||||
* | Fix up the markup in some recently-added portions of the text. | Fred Drake | 2001-02-23 | 1 | -26/+27 |
| | |||||
* | Describe -s a little more generically. | Barry Warsaw | 2001-02-23 | 1 | -5/+6 |
| | |||||
* | symtable_update_free_vars(), symtable_undo_free(), | Barry Warsaw | 2001-02-23 | 1 | -3/+3 |
| | | | | | symtable_enter_scope(): Removed some unnecessary backslashes at the end of lines. C != Python. :) | ||||
* | Fix for bug 133489: compiler leaks memory | Jeremy Hylton | 2001-02-23 | 2 | -5/+11 |
| | | | | | | | | | | | | | | | | | | | | Two different but related problems: 1. PySymtable_Free() must explicitly DECREF(st->st_cur), which should always point to the global symtable entry. This entry is setup by the first enter_scope() call, but there is never a corresponding exit_scope() call. Since each entry has a reference to scopes defined within it, the missing DECREF caused all symtable entries to be leaked. 2. The leak here masked a separate problem with PySymtableEntry_New(). When the requested entry was found in st->st_symbols, the entry was returned without doing an INCREF. And problem c) The ste_children slot was getting two copies of each child entry, because it was populating the slot on the first and second passes. Now only populate on the first pass. | ||||
* | Py_Main(): When compiled by Insure (i.e. __INSURE__ is defined), call | Barry Warsaw | 2001-02-23 | 1 | -0/+14 |
| | | | | | | | | | the internal API function to release the interned strings as the very last thing before returning status. This aids in memory use debugging because it eliminates a huge source of noise from the reports. This is never called during normal (non-debugging) use because releasing the interned strings slows Python's shutdown and isn't necessary anyway because the system will always reclaim the memory. | ||||
* | _Py_ReleaseInternedStrings(): Private API function to decref and | Barry Warsaw | 2001-02-23 | 2 | -0/+12 |
| | | | | | | release the interned string dictionary. This is useful for memory use debugging because it eliminates a huge source of noise from the reports. Only defined when INTERN_STRINGS is defined. | ||||
* | Patch #103899: Don't compile modules configured in Setup. This seems much | Andrew M. Kuchling | 2001-02-23 | 1 | -0/+16 |
| | | | | | simpler than adding a bazillion switches, but means that the makesetup method probably can't ever go away completely. Oh well... | ||||
* | Patch #103937: Attempt to get the BSDDB autodetection right (or at least | Andrew M. Kuchling | 2001-02-23 | 1 | -10/+15 |
| | | | | less wrong) | ||||
* | Checkin updated version of patch #103933 . As Thomas says, fixes the bugs ↵ | Mark Hammond | 2001-02-23 | 1 | -2/+10 |
| | | | | #131064, #129584, #127722. See the discussion in bug #131064 | ||||
* | Patch 103928: Correct zlib freeze settings for Win32. | Tim Peters | 2001-02-23 | 1 | -2/+2 |
| | |||||
* | Work around the broken formatting of sys.ps1 prompts in running text. | Fred Drake | 2001-02-22 | 1 | -46/+48 |
| | | | | | | | Move sample sessions to the left margin of the file for consistency; formatting can adjust the margin if needed. This closes SF bug #133213. | ||||
* | cd to the html/ directory to generate the global module index so the links | Fred Drake | 2001-02-22 | 1 | -2/+3 |
| | | | | | | to the module sections are right. This was also broken when converting to a flat Makefile. | ||||
* | The ACKS file is in the current directory when converted to HTML; this was | Fred Drake | 2001-02-22 | 1 | -1/+1 |
| | | | | broken when converting to a flat Makefile. ;-( | ||||
* | Remove entry for soundex module! | Fred Drake | 2001-02-22 | 1 | -1/+0 |
| | |||||
* | _PyObject_Dump(): If argument is NULL, print "NULL" instead of | Barry Warsaw | 2001-02-22 | 1 | -3/+7 |
| | | | | crashing. | ||||
* | In try_3way_to_rich_compare(), swap the call to default_3way_compare() | Guido van Rossum | 2001-02-22 | 1 | -2/+2 |
| | | | | | | and the test for errors, so that an error in the default compare doesn't go undetected. This fixes SF Bug #132933 (submitted by effbot) -- list.sort doesn't detect comparision errors. | ||||
* | Sequence indexes are non-negative, not natural (0 is not a natural number). | Fred Drake | 2001-02-22 | 1 | -32/+32 |
| | | | | | | Reported by Daniel May <mayds@ecn.purdue.edu>. De-tabified everywhere. | ||||
* | Remove documentation for the soundex module; the module is no longer | Fred Drake | 2001-02-22 | 2 | -76/+32 |
| | | | | included with Python. | ||||
* | asin micro-optimization suggested in email. | Tim Peters | 2001-02-22 | 1 | -2/+3 |
| | |||||
* | Windows: Remove soundex from pythoncore subproject. | Tim Peters | 2001-02-22 | 1 | -15/+0 |
| | |||||
* | Mention the removal of soundex.c | Andrew M. Kuchling | 2001-02-22 | 1 | -0/+2 |
| | |||||
* | Patch #103926: fix two warnings from Tru64's compiler | Andrew M. Kuchling | 2001-02-22 | 2 | -2/+4 |
| | |||||
* | Remove soundex module, as stated by GvR. | Andrew M. Kuchling | 2001-02-22 | 2 | -182/+0 |
| | | | | | | | (Fred, I'll leave the doc changes to you, because I don't know if you want to delete libsoundex.tex or leave it in. Someone else will have to tweak PC/os2vacpp/{config.c,makefile} and PCbuild/pythoncore.dsp, both of which refer to soundex.c) | ||||
* | Patch #103885: Add dynamic registration and lookup of DOM implementations. | Martin v. Löwis | 2001-02-22 | 4 | -0/+111 |
| | |||||
* | Fix previous checkin, hopelessly broken as it was; reported by Detlef Lannert. | Jeremy Hylton | 2001-02-22 | 1 | -7/+7 |
| | |||||
* | Add a line to "python -h" output about PYTHONCASEOK. | Tim Peters | 2001-02-22 | 1 | -0/+1 |
| | |||||
* | Rip out various module-enabling switches, made obsolete by setup.py | Andrew M. Kuchling | 2001-02-21 | 3 | -906/+343 |
| | |||||
* | Move the signal module back into Setup.config.in so it can be enabled | Andrew M. Kuchling | 2001-02-21 | 2 | -3/+3 |
| | | | | and disabled from the configure script. | ||||
* | replace exec with simple assignments | Jeremy Hylton | 2001-02-21 | 1 | -3/+7 |
| | |||||
* | Release a PYC resource after reading it. No need to keep it incore. | Jack Jansen | 2001-02-21 | 1 | -0/+2 |
| | |||||
* | Waste 2.0 has many more options for the undo label. | Jack Jansen | 2001-02-21 | 1 | -2/+6 |
| | |||||
* | Use re in stead of regex, so we get rid of the annoying warning during startup. | Jack Jansen | 2001-02-21 | 5 | -47/+54 |
| | |||||
* | The code to write timestamps couldn't handle negative times (and time | Jack Jansen | 2001-02-21 | 1 | -0/+2 |
| | | | | on the Mac is negativevalues > 0x80000000). Fixed. | ||||
* | Whitespace normalization. | Tim Peters | 2001-02-21 | 4 | -5/+4 |
| | |||||
* | Bug #133297: cmath.asin is the same as cmath.asinh. | Tim Peters | 2001-02-21 | 1 | -8/+9 |
| | | | | | | | | | | | | | The bug report title isn't correct, but was on the right track. Rev 2.13 applied a patch intended to improve asinh and acosh, but the author mistakenly replaced the body of asin with their new code for asinh. See bug report for all the gory details. This patch: (a) puts the "new" (as of 2.13) asinh code into the asinh function; and, (b) repairs asin via what Abramowitz & Stegun say it should be (which is probably the same as what 2.12 did for asin, although I got tired of matching parentheses before being 100% sure of that -- and I don't care! The source of the old code is a mystery, and I *know* why I picked the new code.). | ||||
* | Patch #103544: always compile the dl and nis modules on Unix; let's see | Andrew M. Kuchling | 2001-02-21 | 1 | -2/+9 |
| | | | | where they break. | ||||
* | Add Donovan Baarda for fixing a tortuous zlibmodule bug (but aren't they all?) | Andrew M. Kuchling | 2001-02-21 | 1 | -0/+1 |
| | |||||
* | Add test case from bug #124981: zlib decompress of sync-flushed data | Andrew M. Kuchling | 2001-02-21 | 2 | -0/+27 |
| | | | | fails | ||||
* | Patch #103373 from Donovan Baarda: This patch: | Andrew M. Kuchling | 2001-02-21 | 1 | -194/+131 |
| | | | | | | | | | | | | * fixes the zlib decompress sync flush bug as reported in bug #124981 * avoids repeat calls to (in|de)flateEnd when destroying (de)compression objects * raises exception when allocating unused_data fails * fixes memory leak when allocating unused_data fails * raises exception when allocating decompress data fails * removes vestigial code from decompress flush now that decompression returns all available data * tidies code so object compress/decompress/flush routines are consistent | ||||
* | Patch #103854: raises an exception if a non-Attr node is passed to | Andrew M. Kuchling | 2001-02-21 | 2 | -0/+14 |
| | | | | | | NamedNodeMap.setNamedItem(). Martin, should I sync the PyXML tree, too, or do you want to do it? (I don't know if you're wrapping the 0.6.4 release right now.) | ||||
* | Added test for patch #103473: test an unquoted cookie value containing '=' | Andrew M. Kuchling | 2001-02-21 | 2 | -0/+7 |
| |