Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert the ref() and proxy() implementations to use the new | Fred Drake | 2001-10-23 | 1 | -2/+2 |
| | | | | PyArg_UnpackTuple() function (serves as an example and test case). | ||||
* | Adjust the _weakref module to use the public API for the weak reference | Fred Drake | 2001-10-05 | 1 | -717/+15 |
| | | | | | objects. This is now simply a shim to give weakref.py access to the underlying implementation. | ||||
* | Use new GC API. | Neil Schemenauer | 2001-08-29 | 1 | -10/+10 |
| | |||||
* | Use METH_O where possible (two functions). This does not lead to real | Fred Drake | 2001-08-16 | 1 | -29/+24 |
| | | | | | performance changes since the affected functions are not expected to be used frequently, but reduces the volume of code. | ||||
* | Remove an obsolete comment and a "return" before fallig off the end of a | Fred Drake | 2001-05-03 | 1 | -2/+0 |
| | | | | void function. | ||||
* | cleanup_helper(): Make sure we invalidate all reference objects | Fred Drake | 2001-04-13 | 1 | -6/+41 |
| | | | | | | | | | | | before calling any callbacks. This is important since the callback objects only look at themselves to determine that they are invalide. This change avoids a segfault when callbacks use a different reference to an object in the process of being deallocated. This fixes SF bug #415660. | ||||
* | Revert the 1.8 patch, since it's implicated in nasty blowups (see Pyhon-Dev). | Tim Peters | 2001-03-23 | 1 | -1/+1 |
| | |||||
* | Inform the cycle-detector that the a weakref object no longer needs to be | Fred Drake | 2001-03-22 | 1 | -1/+1 |
| | | | | | | tracked as soon as it is clear; this can decrease the number of roots for the cycle detector sooner rather than later in applications which hold on to weak references beyond the time of the invalidation. | ||||
* | Patch #403985: Add support for weak-keyed dictionaries | Martin v. Löwis | 2001-02-27 | 1 | -2/+40 |
| | |||||
* | cleanup_helper(): Added missing "void" type for the function, updated | Fred Drake | 2001-02-26 | 1 | -6/+3 |
| | | | | comments to reflect reality. | ||||
* | The return value from PyObject_ClearWeakRefs() is no longer meaningful, | Fred Drake | 2001-02-26 | 1 | -3/+3 |
| | | | | so make it void. | ||||
* | Move docstrings out of function table to constants defined near the | Fred Drake | 2001-02-18 | 1 | -11/+23 |
| | | | | function implementations. | ||||
* | Repair legit compiler warning. | Tim Peters | 2001-02-02 | 1 | -1/+1 |
| | |||||
* | Teach Windows build about the _weakref module. | Tim Peters | 2001-02-02 | 1 | -1/+1 |
| | |||||
* | PEP 205, Weak References -- initial checkin. | Fred Drake | 2001-02-01 | 1 | -0/+757 |