summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added entry for the "cgitb" module docs.Fred Drake2001-12-042-0/+2
|
* Documentation for the "cgitb" module.Fred Drake2001-12-041-0/+40
|
* Make sure to propogate errors that arise when profiling data cannot beFred Drake2001-12-041-71/+112
| | | | | written to the log file, and turn off the profiler. This closes SF bug #483925.
* Another no-longer-nameless contributor...Guido van Rossum2001-12-041-0/+1
|
* Add note about fixed hash() of mutable objects.Guido van Rossum2001-12-041-0/+5
|
* Define NDEBUG when compiling a release build on Unix.Fred Drake2001-12-042-368/+380
| | | | This is the Unix portion of the fix for SF bug #489052.
* Import the keyword module instead of relying on our own list ofGuido van Rossum2001-12-041-11/+2
| | | | reserved words. No longer need to import string.
* Put the keywords back in alphabetical order. Apparently somebodyGuido van Rossum2001-12-041-2/+2
| | | | didn't use reswords.py, as the comment clearly states. :-(
* Stop defining NDEBUG in Python.h, because it can interfere withTim Peters2001-12-041-5/+4
| | | | | extensions that #include Python.h. See (rejected) patch 487634 for more detail. I'll open a new bug report for the rest needed here.
* Include a warning that scripts should not have the same name as standardFred Drake2001-12-041-13/+37
| | | | | | | modules, or the module cannot be properly imported. (Based on a suggestion sent to python-docs.) Update the displayed dir() of the sys and __builtin__ module with Python 2.2.
* Talk about str() in the discussion of string representations of values, andFred Drake2001-12-041-3/+26
| | | | | give examples for which str() and repr() yield different results. This closes SF bug #485446.
* Add "file" argument to Hook constructor.Ka-Ping Yee2001-12-041-10/+15
| | | | | By default, save sys.stdout in self.file when a Hook instance is created (e.g. when cgitb.enable() is called).
* Address SF patch #485789 (Stefan Schwarzer).Guido van Rossum2001-12-041-1/+1
| | | | $BROWSER should be split on os.pathsep, not on ":".
* Fix SF bug #486144: Uninitialized __slot__ vrbl is None.Guido van Rossum2001-12-041-2/+4
| | | | | | | There's now a new structmember code, T_OBJECT_EX, which is used for all __slot__ variables (except __weakref__, which has special behavior anyway). This new code raises AttributeError when the variable is NULL rather than converting NULL to None.
* Fix SF bug #479967: Appearantly I broke something that made the indexFred Drake2001-12-041-2/+10
| | | | | | insertion work. This fix makes things at least somewhat more explicit, and adds a little sanity checking (and verbosity!) to add_bbl_and_idx_dummy_commands().
* Add a note that the rgbimg module is only built on 32-bit machines (promptedFred Drake2001-12-041-2/+5
| | | | | by a question to webmaster). Re-wrapped a long line.
* long_mul(): The PyNumber_Multiply() call can return a long if theGuido van Rossum2001-12-041-0/+6
| | | | | result would overflow an int. Check for this. (SF bug #488482, Armin Rigo.)
* Remove meaningless comment.Fred Drake2001-12-041-3/+0
|
* Fix SF bug #486144: Uninitialized __slot__ vrbl is None.Guido van Rossum2001-12-043-6/+19
| | | | | | | There's now a new structmember code, T_OBJECT_EX, which is used for all __slot__ variables (except __weakref__, which has special behavior anyway). This new code raises AttributeError when the variable is NULL rather than converting NULL to None.
* PyObject_Generic{Get,Set}Attr(): ensure that the attribute name is aGuido van Rossum2001-12-041-20/+72
| | | | | | | string object (or a Unicode that's trivially converted to ASCII). PyObject_GetAttr(): add an 'else' to the Unicode test like PyObject_SetAttr() already has.
* A tiny but useful script that fires off a search on Google.Guido van Rossum2001-12-041-0/+22
| | | | (Not sure if this is legal according to the Google terms of service. :-)
* Patch by Jason Harper to allow IDE to work again under MacOS 8.1. Plus ↵Jack Jansen2001-12-043-35/+145
| | | | appearance support for Wlist frames and focussing. Plus commented-out appearance support for the same for Wtext, which still needs some work.
* The parser now also needs to link with mysnprintf.o.Guido van Rossum2001-12-041-0/+1
|
* PyGrammar_LabelRepr(): sprintf -> PyOS_snprintf.Tim Peters2001-12-041-2/+2
|
* The parser doesn't need its own implementation of assert, and having itsTim Peters2001-12-048-38/+18
| | | | own interfered with including Python.h. Remove Python's assert.h.
* Update docs to reflect new compile() and compileFile()Jeremy Hylton2001-12-041-3/+18
|
* SF bug #488687 reported by Neal NorwitzJeremy Hylton2001-12-042-1/+2
| | | | | | | | | The error for assignment to __debug__ used ste->ste_opt_lineno instead of n->n_lineno. The latter was at best incorrect; often the slot was uninitialized. Two fixes here: Use the correct lineno for the error. Initialize ste_opt_lineno in PySymtable_New(); while there are no current cases where it is referenced unless it has already been assigned to, there is no harm in initializing it.
* More sprintf -> PyOS_snprintf.Tim Peters2001-12-042-3/+4
|
* Slightly improved indexing for the string-% operator, thanks to commentsFred Drake2001-12-031-1/+2
| | | | | from Skip Montanaro. There is one weirdness in the final index for HTML, but that is low priority.
* Update lambda description to reflect nested scopes. This was noted byFred Drake2001-12-031-4/+2
| | | | Andrew Koenig.
* Added documentation on the ScrolledText module.Fred Drake2001-12-031-0/+37
|
* Oops! Forgot the value parameter.Andrew M. Kuchling2001-12-031-1/+1
|
* Add __delete__ method of propertiesAndrew M. Kuchling2001-12-031-1/+4
| | | | Reflow paragraph
* posix_execve(), posix_spawnve(), posix_putenv():Tim Peters2001-12-031-6/+14
| | | | | sprintf -> PyOS_snprintf. This is the last of this stuff I intend to do.
* Fix the final two issues in Armin Rigo's SF bug #488477: apply_slice()Guido van Rossum2001-12-031-4/+10
| | | | | and assign_slice() weren't properly DECREF'ing the temporary slice object they created. (Shame on me. :-)
* unpack_iterable(): Add a missing DECREF in an error case. Reported byGuido van Rossum2001-12-032-0/+24
| | | | | Armin Rigo (SF bug #488477). Added a testcase to test_unpack_iter() in test_iter.py.
* removed some dead code.Just van Rossum2001-12-031-15/+0
|
* decode(), encode(): Accepting the minor optimizations from SF patchBarry Warsaw2001-12-031-6/+7
| | | | | #486375, but not the rest of it, since that changes the documented semantics of encode().
* function_call(): Remove a bogus (and I mean *really* bogus) call toGuido van Rossum2001-12-031-1/+0
| | | | | Py_DECREF(arg) after the PyErr_NoMemory() call. (Armin Rigo, SF bug #488477.)
* Add a scalar product to the example list comprehensions based on a suggestionFred Drake2001-12-031-0/+2
| | | | sent to python-docs.
* LIBSUBDIRS: Add test/data so it gets installed and test_email.py canBarry Warsaw2001-12-031-2/+2
| | | | pass. Closes SF # 485080
* Minor clarification of the zip() description, based on a comment sent toFred Drake2001-12-031-1/+1
| | | | python-docs.
* Make no assumption about how modules are built when referring to them; thisFred Drake2001-12-031-4/+3
| | | | | can vary by platform and installation. Based on suggestion to python-docs.
* Re-word the intro slightly to avoid reader misunderstanding: strings are notFred Drake2001-12-031-30/+24
| | | | | | | | | | | | | mutable! We do not want to shock anyone. This closes SF bug #483805. Re-factor so that the description of the "access" keyword parameter is not repeated in both the descriptions of mmap(). Also, only make sure the first description of mmap() appears in the index. The the index link is followed, the first is now used to locate the page on the screen; chances are really good both will be visible. This avoids the problem that the index entry for the second is selected and the first version is not visible, making the reader consider that mmap() is not available on Windows.
* Removed old and broken AE-based browser controller, use webbrowser.pyJust van Rossum2001-12-031-31/+11
| | | | instead. This fixes bug #488420.
* Clarify that the Python runtime may behave mysteriously when an exceptionFred Drake2001-12-031-4/+12
| | | | | is not handled properly. This closes SF bug #485153.
* Remove most references to __members__ and __methods__, leaving only one pairFred Drake2001-12-034-20/+10
| | | | | | of references that now state that these attributes have been removed, directing the reader to the dir() function. This closes SF bug #456420.
* Convert to using string methods instead of the string module.Fred Drake2001-12-031-29/+25
| | | | | | In goahead(), use a bound version of rawdata.startswith() since we use the same method all the time and never change the value of rawdata. This can save a lot of bound method creation.
* Add a test that makes sure unclosed entity references are handled consitently.Fred Drake2001-12-031-0/+6
|
* PyErr_Format() does not return a new reference; it always returns NULL.Fred Drake2001-12-031-7/+5
| | | | This closes SF bug #488387.