Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added entry for the "cgitb" module docs. | Fred Drake | 2001-12-04 | 2 | -0/+2 |
| | |||||
* | Documentation for the "cgitb" module. | Fred Drake | 2001-12-04 | 1 | -0/+40 |
| | |||||
* | Make sure to propogate errors that arise when profiling data cannot be | Fred Drake | 2001-12-04 | 1 | -71/+112 |
| | | | | | written to the log file, and turn off the profiler. This closes SF bug #483925. | ||||
* | Another no-longer-nameless contributor... | Guido van Rossum | 2001-12-04 | 1 | -0/+1 |
| | |||||
* | Add note about fixed hash() of mutable objects. | Guido van Rossum | 2001-12-04 | 1 | -0/+5 |
| | |||||
* | Define NDEBUG when compiling a release build on Unix. | Fred Drake | 2001-12-04 | 2 | -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 of | Guido van Rossum | 2001-12-04 | 1 | -11/+2 |
| | | | | reserved words. No longer need to import string. | ||||
* | Put the keywords back in alphabetical order. Apparently somebody | Guido van Rossum | 2001-12-04 | 1 | -2/+2 |
| | | | | didn't use reswords.py, as the comment clearly states. :-( | ||||
* | Stop defining NDEBUG in Python.h, because it can interfere with | Tim Peters | 2001-12-04 | 1 | -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 standard | Fred Drake | 2001-12-04 | 1 | -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, and | Fred Drake | 2001-12-04 | 1 | -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 Yee | 2001-12-04 | 1 | -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 Rossum | 2001-12-04 | 1 | -1/+1 |
| | | | | $BROWSER should be split on os.pathsep, not on ":". | ||||
* | Fix SF bug #486144: Uninitialized __slot__ vrbl is None. | Guido van Rossum | 2001-12-04 | 1 | -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 index | Fred Drake | 2001-12-04 | 1 | -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 (prompted | Fred Drake | 2001-12-04 | 1 | -2/+5 |
| | | | | | by a question to webmaster). Re-wrapped a long line. | ||||
* | long_mul(): The PyNumber_Multiply() call can return a long if the | Guido van Rossum | 2001-12-04 | 1 | -0/+6 |
| | | | | | result would overflow an int. Check for this. (SF bug #488482, Armin Rigo.) | ||||
* | Remove meaningless comment. | Fred Drake | 2001-12-04 | 1 | -3/+0 |
| | |||||
* | Fix SF bug #486144: Uninitialized __slot__ vrbl is None. | Guido van Rossum | 2001-12-04 | 3 | -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 a | Guido van Rossum | 2001-12-04 | 1 | -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 Rossum | 2001-12-04 | 1 | -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 Jansen | 2001-12-04 | 3 | -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 Rossum | 2001-12-04 | 1 | -0/+1 |
| | |||||
* | PyGrammar_LabelRepr(): sprintf -> PyOS_snprintf. | Tim Peters | 2001-12-04 | 1 | -2/+2 |
| | |||||
* | The parser doesn't need its own implementation of assert, and having its | Tim Peters | 2001-12-04 | 8 | -38/+18 |
| | | | | own interfered with including Python.h. Remove Python's assert.h. | ||||
* | Update docs to reflect new compile() and compileFile() | Jeremy Hylton | 2001-12-04 | 1 | -3/+18 |
| | |||||
* | SF bug #488687 reported by Neal Norwitz | Jeremy Hylton | 2001-12-04 | 2 | -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 Peters | 2001-12-04 | 2 | -3/+4 |
| | |||||
* | Slightly improved indexing for the string-% operator, thanks to comments | Fred Drake | 2001-12-03 | 1 | -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 by | Fred Drake | 2001-12-03 | 1 | -4/+2 |
| | | | | Andrew Koenig. | ||||
* | Added documentation on the ScrolledText module. | Fred Drake | 2001-12-03 | 1 | -0/+37 |
| | |||||
* | Oops! Forgot the value parameter. | Andrew M. Kuchling | 2001-12-03 | 1 | -1/+1 |
| | |||||
* | Add __delete__ method of properties | Andrew M. Kuchling | 2001-12-03 | 1 | -1/+4 |
| | | | | Reflow paragraph | ||||
* | posix_execve(), posix_spawnve(), posix_putenv(): | Tim Peters | 2001-12-03 | 1 | -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 Rossum | 2001-12-03 | 1 | -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 by | Guido van Rossum | 2001-12-03 | 2 | -0/+24 |
| | | | | | Armin Rigo (SF bug #488477). Added a testcase to test_unpack_iter() in test_iter.py. | ||||
* | removed some dead code. | Just van Rossum | 2001-12-03 | 1 | -15/+0 |
| | |||||
* | decode(), encode(): Accepting the minor optimizations from SF patch | Barry Warsaw | 2001-12-03 | 1 | -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 to | Guido van Rossum | 2001-12-03 | 1 | -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 suggestion | Fred Drake | 2001-12-03 | 1 | -0/+2 |
| | | | | sent to python-docs. | ||||
* | LIBSUBDIRS: Add test/data so it gets installed and test_email.py can | Barry Warsaw | 2001-12-03 | 1 | -2/+2 |
| | | | | pass. Closes SF # 485080 | ||||
* | Minor clarification of the zip() description, based on a comment sent to | Fred Drake | 2001-12-03 | 1 | -1/+1 |
| | | | | python-docs. | ||||
* | Make no assumption about how modules are built when referring to them; this | Fred Drake | 2001-12-03 | 1 | -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 not | Fred Drake | 2001-12-03 | 1 | -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.py | Just van Rossum | 2001-12-03 | 1 | -31/+11 |
| | | | | instead. This fixes bug #488420. | ||||
* | Clarify that the Python runtime may behave mysteriously when an exception | Fred Drake | 2001-12-03 | 1 | -4/+12 |
| | | | | | is not handled properly. This closes SF bug #485153. | ||||
* | Remove most references to __members__ and __methods__, leaving only one pair | Fred Drake | 2001-12-03 | 4 | -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 Drake | 2001-12-03 | 1 | -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 Drake | 2001-12-03 | 1 | -0/+6 |
| | |||||
* | PyErr_Format() does not return a new reference; it always returns NULL. | Fred Drake | 2001-12-03 | 1 | -7/+5 |
| | | | | This closes SF bug #488387. |