Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove acconfig.h. | Martin v. Löwis | 2002-04-12 | 4 | -41/+10 |
| | |||||
* | Remove unused macros. | Martin v. Löwis | 2002-04-12 | 1 | -23/+0 |
| | |||||
* | Update to autoconf 2.5x. | Martin v. Löwis | 2002-04-12 | 4 | -4824/+13539 |
| | |||||
* | _PyObject_DebugRealloc(): rewritten to let the underlying realloc do | Tim Peters | 2002-04-12 | 1 | -27/+30 |
| | | | | | | | | | | most of the work. In particular, if the underlying realloc is able to grow the memory block in place, great (this routine used to do a fresh malloc + memcpy every time a block grew). BTW, I'm not so keen here on avoiding possible quadratic-time realloc patterns as I am on making the debug pymalloc more invisible (the more it uses memory "just like" the underlying allocator, the better the chance that a suspected memory corruption bug won't vanish when the debug malloc is turned on). | ||||
* | _PyObject_DebugDumpAddress(): clarify an output message. | Tim Peters | 2002-04-12 | 1 | -1/+1 |
| | |||||
* | PYMALLOC_{CLEAN, DEAD, FORBIDDEN}BYTE symbols: remove the PYMALLOC_ | Tim Peters | 2002-04-12 | 1 | -34/+39 |
| | | | | | prefix. These symbols are private to the file, and the PYMALLOC_ gets in the way (overly long code lines, comments, and error messages). | ||||
* | First stab at rationalizing the PyMem_ API. Mixing PyObject_xyz with | Tim Peters | 2002-04-12 | 4 | -70/+61 |
| | | | | | | | | | | | | | | | | | | | | | | | | PyMem_{Del, DEL} doesn't work yet (compilation problems). pyport.h: _PyMem_EXTRA is gone. pmem.h: Repaired comments. PyMem_{Malloc, MALLOC} and PyMem_{Realloc, REALLOC} now make the same x-platform guarantees when asking for 0 bytes, and when passing a NULL pointer to the latter. object.c: PyMem_{Malloc, Realloc} just call their macro versions now, since the latter take care of the x-platform 0 and NULL stuff by themselves now. pypcre.c, grow_stack(): So sue me. On two lines, this called PyMem_RESIZE to grow a "const" area. It's not legit to realloc a const area, so the compiler warned given the new expansion of PyMem_RESIZE. It would have gotten the same warning before if it had used PyMem_Resize() instead; the older macro version, but not the function version, silently cast away the constness. IMO that was a wrong thing to do, and the docs say the macro versions of PyMem_xyz are deprecated anyway. If somebody else is resizing const areas with the macro spelling, they'll get a warning when they recompile now too. | ||||
* | First cut at repairing out-of-date comments; make alignment of macro defs | Tim Peters | 2002-04-12 | 1 | -15/+24 |
| | | | | all the same within the #ifdef WITH_PYMALLOC block. | ||||
* | Move PyObject_Malloc and PyObject_Free here from object.c. Remove | Neil Schemenauer | 2002-04-12 | 1 | -61/+33 |
| | | | | | PyMalloc_ prefix and use PyObject_ instead. I'm not sure about the debugging functions. Perhaps they should stay as PyMalloc_. | ||||
* | Move PyObject_Malloc and PyObject_Free to obmalloc.c. | Neil Schemenauer | 2002-04-12 | 1 | -21/+2 |
| | |||||
* | Remove PyMalloc_*. | Neil Schemenauer | 2002-04-12 | 1 | -5/+5 |
| | |||||
* | Change signature of _PyObject_GC_Malloc to match PyObject_MALLOC. | Neil Schemenauer | 2002-04-12 | 1 | -6/+6 |
| | | | | | PyObject_Del and PyObject_GC_Del can now be used as a function designators. | ||||
* | PyObject_GC_Del can now be used as a function designator. | Neil Schemenauer | 2002-04-12 | 1 | -1/+1 |
| | |||||
* | Remove PyMalloc_New and PyMalloc_Del. | Neil Schemenauer | 2002-04-12 | 2 | -4/+4 |
| | |||||
* | Remove PyMalloc_New, _PyMalloc_MALLOC, and PyMalloc_Del. | Neil Schemenauer | 2002-04-12 | 1 | -7/+7 |
| | |||||
* | Remove PyMalloc_New and PyMalloc_Del. | Neil Schemenauer | 2002-04-12 | 1 | -2/+2 |
| | |||||
* | PyObject_GC_Del can now be used as a function designator. | Neil Schemenauer | 2002-04-12 | 3 | -3/+3 |
| | |||||
* | PyObject_Del can now be used as a function designator. | Neil Schemenauer | 2002-04-12 | 6 | -7/+7 |
| | |||||
* | PyObject_GC_Del and PyObject_Del can now be used as a function | Neil Schemenauer | 2002-04-12 | 1 | -3/+3 |
| | | | | | | designators. Remove PyMalloc_New. | ||||
* | Allow PyObject_Del to be used as a function designator. Provide binary | Neil Schemenauer | 2002-04-12 | 1 | -14/+39 |
| | | | | | | | | compatibility function. Make PyObject_GC_Track and PyObject_GC_UnTrack functions instead of trivial macros wrapping functions. Provide binary compatibility functions. | ||||
* | Remove PyMalloc_* symbols. PyObject_Malloc now uses pymalloc if | Neil Schemenauer | 2002-04-12 | 1 | -30/+0 |
| | | | | it's enabled. | ||||
* | Remove PyMalloc_* symbols. PyObject_Malloc now uses pymalloc if | Neil Schemenauer | 2002-04-12 | 1 | -38/+44 |
| | | | | | | | | | | it's enabled. Allow PyObject_Del, PyObject_Free, and PyObject_GC_Del to be used as function designators. Provide source compatibility macros. Make PyObject_GC_Track and PyObject_GC_UnTrack functions instead of trivial macros wrapping functions. | ||||
* | Change the type of the tp_free from 'destructor' to 'freefunc'. | Neil Schemenauer | 2002-04-12 | 1 | -1/+2 |
| | |||||
* | Removed more hair in support of future-generator stmts. | Tim Peters | 2002-04-12 | 3 | -4/+4 |
| | |||||
* | Get rid of backward compatibility modules. Do this fairly early in the 2.3 ↵ | Jack Jansen | 2002-04-11 | 45 | -180/+0 |
| | | | | cycle so we don't shoot ourselves in the foot later. | ||||
* | Clean up the "all" support for -u. | Fred Drake | 2002-04-11 | 1 | -1/+2 |
| | |||||
* | Guido sez to remove the deprecation warning for a year. | Fred Drake | 2002-04-11 | 1 | -5/+0 |
| | | | | The deprecation is now listed in PEP 4. | ||||
* | Got rid of obsolete defines. | Jack Jansen | 2002-04-11 | 11 | -37/+3 |
| | |||||
* | Got rid of obsolete appearance flag. | Jack Jansen | 2002-04-11 | 1 | -5/+0 |
| | |||||
* | Added boolobject.c | Jack Jansen | 2002-04-11 | 3 | -0/+0 |
| | |||||
* | At CNRI's request, I'm changing the status of 1.6.1 from | Guido van Rossum | 2002-04-11 | 1 | -1/+6 |
| | | | | | | not-GPL-compatible to GPL-compatible, with a footnote explaining that RMS disagrees. I'm not going to discuss this further -- both sides (CNRI and RMS) will argue their POV till they're blue in the face. | ||||
* | Got rid of ifdefs for long-obsolete GUSI versions and other lurkers. | Jack Jansen | 2002-04-11 | 1 | -6/+0 |
| | |||||
* | These are long obsolete. Get rid of them. | Jack Jansen | 2002-04-11 | 5 | -38/+0 |
| | |||||
* | Got rid of ifdefs for long-obsolete GUSI versions and other stuff that is ↵ | Jack Jansen | 2002-04-11 | 4 | -197/+0 |
| | | | | now standard (appearance, interned strings) | ||||
* | Got rid of ifdefs for long-obsolete GUSI versions. | Jack Jansen | 2002-04-11 | 7 | -84/+1 |
| | |||||
* | Get rid of USE_CACHE_ALIGNED. It has no function anymore. | Jack Jansen | 2002-04-11 | 1 | -3/+0 |
| | |||||
* | Since xmllib is deprecated now, suppress the DeprecationWarning its test | Tim Peters | 2002-04-11 | 1 | -1/+5 |
| | | | | module necessarily raises. | ||||
* | Ignore more deprecation warnings. | Tim Peters | 2002-04-11 | 1 | -4/+6 |
| | |||||
* | Stop sucking up xmllib -- it's deprecated. | Tim Peters | 2002-04-11 | 1 | -1/+0 |
| | |||||
* | I don't expect test_email_codecs to run on Windows. | Tim Peters | 2002-04-11 | 1 | -0/+1 |
| | |||||
* | Added the resource name "all" to enable all of the optional resource uses. | Fred Drake | 2002-04-11 | 1 | -2/+11 |
| | | | | This is nice for use with "make TESTOPTS='-u all' test". | ||||
* | Document __unicode__. Fixes #541245. | Martin v. Löwis | 2002-04-11 | 1 | -0/+7 |
| | |||||
* | Explain octal escapes. Fixes #542226. | Martin v. Löwis | 2002-04-11 | 1 | -5/+3 |
| | |||||
* | SF bug 542181: Realloc behavior | Tim Peters | 2002-04-11 | 1 | -12/+16 |
| | | | | | | | | | | | The bug report pointed out a bogosity in the comment block explaining thread safety for arena management. Repaired that comment, repaired a couple others while I was at it, and added an assert. _PyMalloc_DebugRealloc: If this needed to get more memory, but couldn't, it erroneously freed the original memory. Repaired that. This is for 2.3 only (unless we decide to backport the new pymalloc). | ||||
* | Different .pyc icon - use "paler" colors to better differentiate it from the ↵ | Mark Hammond | 2002-04-11 | 1 | -0/+0 |
| | | | | main .py icon. As discussed with Tim (prompted by cl.lpy posting) | ||||
* | Improve coverage of Objects/weakrefobject.c. | Fred Drake | 2002-04-11 | 1 | -0/+16 |
| | |||||
* | Add a name | Andrew M. Kuchling | 2002-04-10 | 1 | -1/+1 |
| | |||||
* | Add deprecation warning to 'pre' module | Andrew M. Kuchling | 2002-04-10 | 1 | -0/+6 |
| | |||||
* | Remove mention of 'pre' module | Andrew M. Kuchling | 2002-04-10 | 1 | -9/+0 |
| | | | | (2.2 bugfix candidate?) | ||||
* | Remove support for importing 'pre' module | Andrew M. Kuchling | 2002-04-10 | 1 | -14/+2 |
| |