Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix appendChild() and insertBefore() (and replaceChild() indirectly) when | Fred Drake | 2001-12-06 | 3 | -2/+57 |
| | | | | | the node being added is a fragment node. This closes SF bug #487929. | ||||
* | SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields() | Guido van Rossum | 2001-12-06 | 1 | -0/+1 |
| | |||||
* | Warning message about unfound file was missing trailing \n. | Guido van Rossum | 2001-12-06 | 1 | -1/+2 |
| | |||||
* | SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields() | Guido van Rossum | 2001-12-06 | 1 | -3/+3 |
| | |||||
* | The previous checkin to clear __slots__ variables did a little bit of | Guido van Rossum | 2001-12-06 | 1 | -20/+20 |
| | | | | | the work each time it found another base class. All the work is contiguous, so we might as well do it all at once at the end. | ||||
* | Replace sprintf() with PyOS_snprintf(). | Jack Jansen | 2001-12-05 | 3 | -9/+9 |
| | |||||
* | sys.platform on Mac OS X is now "darwin", without any version number appended. | Jack Jansen | 2001-12-05 | 4 | -415/+417 |
| | | | | This should probably go into NEWS (who's responsible for that?). | ||||
* | Link more modules with weak import, and add CarbonAccessors.o to all ↵ | Jack Jansen | 2001-12-05 | 1 | -6/+7 |
| | | | | relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1. | ||||
* | Fix SF bug #489581: __slots__ leak. | Guido van Rossum | 2001-12-05 | 3 | -2/+59 |
| | | | | | | It was easier than I thought, assuming that no other things contribute to the instance size besides slots -- a pretty good bet. With a test suite, no less! | ||||
* | Define NDEBUG if Py_DEBUG isn't defined. | Jack Jansen | 2001-12-05 | 11 | -0/+33 |
| | |||||
* | Re-enabled debugging prints in poplib & documented the set_debuglevel() | Fred Drake | 2001-12-05 | 2 | -6/+14 |
| | | | | | method. This closes SF patch #486079. | ||||
* | audioop_ratecv(): I left a potentially unsafe multiply unchecked | Tim Peters | 2001-12-05 | 1 | -15/+15 |
| | | | | | yesterday -- repair that. Also renamed the silly size_times_nchannels to bytes_per_frame. | ||||
* | Added a missing period at the end of an error message. | Fred Drake | 2001-12-05 | 1 | -2/+2 |
| | |||||
* | Fix memory leak in the parser module: There were two leaks in | Fred Drake | 2001-12-05 | 1 | -5/+22 |
| | | | | | | parser_tuple2st() and a failure to propogate an error in build_node_children() (masking yet another leak, of course!). This closes SF bug #485133 (confirmed by Insure++). | ||||
* | asyncore.loop() description contributed by Skip Montanaro. | Fred Drake | 2001-12-05 | 1 | -0/+14 |
| | | | | This closes SF bug #489513. | ||||
* | At the PythonLabs meeting someone mentioned it would make Jim really | Guido van Rossum | 2001-12-05 | 3 | -8/+7 |
| | | | | | | | | | happy if one could delete the __dict__ attribute of an instance. I love to make Jim happy, so here goes... - New-style objects now support deleting their __dict__. This is for all intents and purposes equivalent to assigning a brand new empty dictionary, but saves space if the object is not used further. | ||||
* | Separate the script portion from the library portion; everything that | Fred Drake | 2001-12-05 | 1 | -17/+17 |
| | | | | | pertains to the script is now in the if __name__ == "__main__" block. This is in response to a commenton python-dev from Neal Norwitz. | ||||
* | As of OS X 10.1.1 the version numbering scheme has changed. Convert all ↵ | Jack Jansen | 2001-12-05 | 1 | -4/+6 |
| | | | | "darwin*" to "darwin" and use that for testing. | ||||
* | changes to use new tabpages classes | Steven M. Gava | 2001-12-05 | 1 | -67/+14 |
| | |||||
* | remove cruft from other project | Steven M. Gava | 2001-12-05 | 1 | -28/+1 |
| | |||||
* | cleaner tabbed-page mini implementation through classes | Steven M. Gava | 2001-12-05 | 1 | -0/+137 |
| | |||||
* | SF bug 482574: audioop.ratecv crashes. | Tim Peters | 2001-12-05 | 1 | -6/+62 |
| | | | | | | | | | | | | Bugfix candidate. A numerically naive computation of output buffer size caused crashes and spurious MemoryErrors for reasonable arguments. audioop_ratecv(): Avoid spurious overflow by careful reworking of the buffer size computations, triggering MemoryError if and only if the final buffer size can't be represented in a C int (although PyString_FromStringAndSize may legitimately raise MemoryError even if it does fit in a C int). All reasonable arguments should work as intended now, and all unreasonable arguments should be cuaght. | ||||
* | Add a note to the description of the interaction between the softspace | Fred Drake | 2001-12-05 | 1 | -9/+12 |
| | | | | | | | attribute of file objects, the print statement, and other file operations. This closes SF bug #484857. Fix minor markup nits. | ||||
* | Added documentation of the sendall() method, and a note to the send() method | Fred Drake | 2001-12-05 | 1 | -0/+13 |
| | | | | | that it does not guarantee that all data is sent. This closes SF patch #474307. | ||||
* | Change new tests to use integer division (// instead of /). | Tim Peters | 2001-12-05 | 1 | -3/+3 |
| | |||||
* | SF bug #488480: integer multiply to return -max_int-1. | Tim Peters | 2001-12-04 | 2 | -127/+89 |
| | | | | | | | int_mul(): new and vastly simpler overflow checking. Whether it's faster or slower will likely vary across platforms, favoring boxes with fast floating point. OTOH, we no longer have to worry about people shipping broken LONG_BIT definitions <0.9 wink>. | ||||
* | 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 |
| |