summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libweakref.tex
Commit message (Collapse)AuthorAgeFilesLines
* Delete the LaTeX doc tree.Georg Brandl2007-08-151-336/+0
|
* SF bug #1193966: Weakref types documentation misplacedFred Drake2006-07-291-84/+8
| | | | | | The information about supporting weakrefs with types defined in C extensions is moved to the Extending & Embedding manual. Py_TPFLAGS_HAVE_WEAKREFS is no longer mentioned since it is part of Py_TPFLAGS_DEFAULT.
* SF #1479988: add methods to allow access to weakrefs for theFred Drake2006-05-021-0/+33
| | | | weakref.WeakKeyDictionary and weakref.WeakValueDictionary
* SF patch #1379023: document that a weakref callback is not invoked if theArmin Rigo2005-12-291-2/+2
| | | | weakref object itself is deleted first.
* Add doctest for examples in libweakref.tex to test_weakref.Georg Brandl2005-07-021-2/+4
|
* bug [ 1228904 ] weakref example brokenGeorg Brandl2005-07-021-5/+2
|
* Make weak references subclassable:Fred Drake2004-07-021-2/+41
| | | | | | | | | | | | | | | | | | | | | | - weakref.ref and weakref.ReferenceType will become aliases for each other - weakref.ref will be a modern, new-style class with proper __new__ and __init__ methods - weakref.WeakValueDictionary will have a lighter memory footprint, using a new weakref.ref subclass to associate the key with the value, allowing us to have only a single object of overhead for each dictionary entry (currently, there are 3 objects of overhead per entry: a weakref to the value, a weakref to the dictionary, and a function object used as a weakref callback; the weakref to the dictionary could be avoided without this change) - a new macro, PyWeakref_CheckRefExact(), will be added - PyWeakref_CheckRef() will check for subclasses of weakref.ref This closes SF patch #983019.
* Complete the list of weakreferencable objects.Raymond Hettinger2004-06-121-0/+1
|
* Add weakref support to sockets and re pattern objects.Raymond Hettinger2004-05-311-3/+17
|
* minor markup adjustmentsFred Drake2004-02-031-2/+2
|
* Clarify minor point about the ref() and proxy() constructors.Fred Drake2004-02-031-1/+2
| | | | This matches what is already documented for corresponding feature of the C API.
* use consistent email address for TimFred Drake2003-12-301-1/+1
|
* Patch #849350: Update to document bool return values. Backported to 2.3.Martin v. Löwis2003-11-271-1/+1
|
* More words: gave more motivation, and added cautions about the specialTim Peters2003-11-211-10/+51
| | | | dangers of trying to iterate over weak dicts.
* Grammar nit. SF bug #757822Raymond Hettinger2003-07-021-1/+1
|
* Described responsibilty of weakly referenced extension types to initializeRaymond Hettinger2002-08-071-2/+23
| | | | | the weakreflist to NULL in the constructor and to fill the tp_flags slot with Py_TPFLAGS_HAVE_WEAKREFS. Closes SF bug 586583.
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-1/+1
| | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment.
* Typo, spotted by Detlef Lannert.Fred Drake2001-11-261-1/+1
|
* Many, many small fixes and improvements, most suggested by Detlef Lannert.Fred Drake2001-10-261-17/+27
|
* Typo: destuction --> destructionFred Drake2001-10-261-1/+1
| | | | Reported by Thomas Heller.
* Minor textual adjustment, and style-guide conformance (no use of "iff").Fred Drake2001-10-261-4/+5
|
* Update the documentation to reflect the changes to ReferenceError.Fred Drake2001-10-061-1/+2
|
* Fix some of the example code; the reference objects do not support aFred Drake2001-08-031-3/+3
| | | | | | | get() method; just calling them is sufficient. (There was a get() method for this in an early version of the implementation.) Reported by Mats Wichmann.
* Correct a markup error for an accented character.Fred Drake2001-06-291-1/+1
| | | | Reported by Milan Zamazal <pdm@zamazal.org>.
* Corrected an error in the information on supporting weak references inFred Drake2001-06-221-9/+7
| | | | | | extension types (the docs reflected a development version of the API). This closes SF bug #435066.
* Fix typo in weakref.proxy() documentation.Fred Drake2001-05-101-1/+1
| | | | This closes SF bug #423087.
* Include a synopsis for the chapter overview.Fred Drake2001-04-111-0/+1
|
* Remove the mapping() function from the documentation.Fred Drake2001-04-101-25/+15
| | | | Add a description of the ReferenceError exception.
* Added example use of weak references, contributed by Tim Peters.Fred Drake2001-03-281-0/+22
|
* Update to the most recent weakref changes.Fred Drake2001-03-231-11/+4
|
* Patch #403985: Add support for weak-keyed dictionariesMartin v. Löwis2001-02-271-16/+36
|
* Fix two typosAndrew M. Kuchling2001-02-141-2/+2
|
* Documentation for the weakref module.Fred Drake2001-02-011-0/+227