summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix up the markup in some recently-added portions of the text.Fred Drake2001-02-231-26/+27
|
* Describe -s a little more generically.Barry Warsaw2001-02-231-5/+6
|
* symtable_update_free_vars(), symtable_undo_free(),Barry Warsaw2001-02-231-3/+3
| | | | | symtable_enter_scope(): Removed some unnecessary backslashes at the end of lines. C != Python. :)
* Fix for bug 133489: compiler leaks memoryJeremy Hylton2001-02-232-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), callBarry Warsaw2001-02-231-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 andBarry Warsaw2001-02-232-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 muchAndrew M. Kuchling2001-02-231-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 leastAndrew M. Kuchling2001-02-231-10/+15
| | | | less wrong)
* Checkin updated version of patch #103933 . As Thomas says, fixes the bugs ↵Mark Hammond2001-02-231-2/+10
| | | | #131064, #129584, #127722. See the discussion in bug #131064
* Patch 103928: Correct zlib freeze settings for Win32.Tim Peters2001-02-231-2/+2
|
* Work around the broken formatting of sys.ps1 prompts in running text.Fred Drake2001-02-221-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 linksFred Drake2001-02-221-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 wasFred Drake2001-02-221-1/+1
| | | | broken when converting to a flat Makefile. ;-(
* Remove entry for soundex module!Fred Drake2001-02-221-1/+0
|
* _PyObject_Dump(): If argument is NULL, print "NULL" instead ofBarry Warsaw2001-02-221-3/+7
| | | | crashing.
* In try_3way_to_rich_compare(), swap the call to default_3way_compare()Guido van Rossum2001-02-221-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 Drake2001-02-221-32/+32
| | | | | | Reported by Daniel May <mayds@ecn.purdue.edu>. De-tabified everywhere.
* Remove documentation for the soundex module; the module is no longerFred Drake2001-02-222-76/+32
| | | | included with Python.
* asin micro-optimization suggested in email.Tim Peters2001-02-221-2/+3
|
* Windows: Remove soundex from pythoncore subproject.Tim Peters2001-02-221-15/+0
|
* Mention the removal of soundex.cAndrew M. Kuchling2001-02-221-0/+2
|
* Patch #103926: fix two warnings from Tru64's compilerAndrew M. Kuchling2001-02-222-2/+4
|
* Remove soundex module, as stated by GvR.Andrew M. Kuchling2001-02-222-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öwis2001-02-224-0/+111
|
* Fix previous checkin, hopelessly broken as it was; reported by Detlef Lannert.Jeremy Hylton2001-02-221-7/+7
|
* Add a line to "python -h" output about PYTHONCASEOK.Tim Peters2001-02-221-0/+1
|
* Rip out various module-enabling switches, made obsolete by setup.pyAndrew M. Kuchling2001-02-213-906/+343
|
* Move the signal module back into Setup.config.in so it can be enabledAndrew M. Kuchling2001-02-212-3/+3
| | | | and disabled from the configure script.
* replace exec with simple assignmentsJeremy Hylton2001-02-211-3/+7
|
* Release a PYC resource after reading it. No need to keep it incore.Jack Jansen2001-02-211-0/+2
|
* Waste 2.0 has many more options for the undo label.Jack Jansen2001-02-211-2/+6
|
* Use re in stead of regex, so we get rid of the annoying warning during startup.Jack Jansen2001-02-215-47/+54
|
* The code to write timestamps couldn't handle negative times (and timeJack Jansen2001-02-211-0/+2
| | | | on the Mac is negativevalues > 0x80000000). Fixed.
* Whitespace normalization.Tim Peters2001-02-214-5/+4
|
* Bug #133297: cmath.asin is the same as cmath.asinh.Tim Peters2001-02-211-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 seeAndrew M. Kuchling2001-02-211-2/+9
| | | | where they break.
* Add Donovan Baarda for fixing a tortuous zlibmodule bug (but aren't they all?)Andrew M. Kuchling2001-02-211-0/+1
|
* Add test case from bug #124981: zlib decompress of sync-flushed dataAndrew M. Kuchling2001-02-212-0/+27
| | | | fails
* Patch #103373 from Donovan Baarda: This patch:Andrew M. Kuchling2001-02-211-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 toAndrew M. Kuchling2001-02-212-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. Kuchling2001-02-212-0/+7
|
* (py-execute-region): This one's easy... kill the temporary file'sBarry Warsaw2001-02-201-2/+4
| | | | buffer after executing its contents.
* On OSX passing NULL to NewUniversalFilterProc() does not return NULL but a ↵Jack Jansen2001-02-202-12/+20
| | | | crashing UPP. This made ModalDialog (and, hence EditPythonPrefs and EasyDialogs and many others) crash. Fixed.
* Patch #103473 from dougfort: Some sites (amazon.com for one) dropAndrew M. Kuchling2001-02-201-2/+2
| | | | | | cookies that contain '=' as part of the value. This patch modifies Cookie.py to allow '=' as a legal character, and to make the key search nongreedy so it stops at the first '='.
* The code in PyImport_Import() tried to save itself a bit of work andGuido van Rossum2001-02-201-13/+7
| | | | | | | | | | | | | | save the __builtin__ module in a static variable. But this doesn't work across Py_Finalise()/Py_Initialize()! It also doesn't work when using multiple interpreter states created with PyInterpreterState_New(). So I'm ripping out this small optimization. This was probably broken since PyImport_Import() was introduced in 1997! We really need a better test suite for multiple interpreter states and repeatedly initializing. This fixes the problems Barry reported in Demo/embed/loop.c.
* import.c -> importexc.cBarry Warsaw2001-02-201-0/+0
|
* import -> importexcBarry Warsaw2001-02-201-1/+1
|
* import.c -> importexc.cBarry Warsaw2001-02-201-4/+6
| | | | Added `realclean' target.
* Rename some constants for easier readability.Tim Peters2001-02-201-8/+8
|
* Mechanical edits just so I can read it.Tim Peters2001-02-201-142/+138
|