summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix appendChild() and insertBefore() (and replaceChild() indirectly) whenFred Drake2001-12-063-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 Rossum2001-12-061-0/+1
|
* Warning message about unfound file was missing trailing \n.Guido van Rossum2001-12-061-1/+2
|
* SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields()Guido van Rossum2001-12-061-3/+3
|
* The previous checkin to clear __slots__ variables did a little bit ofGuido van Rossum2001-12-061-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 Jansen2001-12-053-9/+9
|
* sys.platform on Mac OS X is now "darwin", without any version number appended.Jack Jansen2001-12-054-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 Jansen2001-12-051-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 Rossum2001-12-053-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 Jansen2001-12-0511-0/+33
|
* Re-enabled debugging prints in poplib & documented the set_debuglevel()Fred Drake2001-12-052-6/+14
| | | | | method. This closes SF patch #486079.
* audioop_ratecv(): I left a potentially unsafe multiply uncheckedTim Peters2001-12-051-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 Drake2001-12-051-2/+2
|
* Fix memory leak in the parser module: There were two leaks inFred Drake2001-12-051-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 Drake2001-12-051-0/+14
| | | | This closes SF bug #489513.
* At the PythonLabs meeting someone mentioned it would make Jim reallyGuido van Rossum2001-12-053-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 thatFred Drake2001-12-051-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 Jansen2001-12-051-4/+6
| | | | "darwin*" to "darwin" and use that for testing.
* changes to use new tabpages classesSteven M. Gava2001-12-051-67/+14
|
* remove cruft from other projectSteven M. Gava2001-12-051-28/+1
|
* cleaner tabbed-page mini implementation through classesSteven M. Gava2001-12-051-0/+137
|
* SF bug 482574: audioop.ratecv crashes.Tim Peters2001-12-051-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 softspaceFred Drake2001-12-051-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() methodFred Drake2001-12-051-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 Peters2001-12-051-3/+3
|
* SF bug #488480: integer multiply to return -max_int-1.Tim Peters2001-12-042-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 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
|