Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Delete the LaTeX doc tree. | Georg Brandl | 2007-08-15 | 1 | -336/+0 |
| | |||||
* | SF bug #1193966: Weakref types documentation misplaced | Fred Drake | 2006-07-29 | 1 | -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 the | Fred Drake | 2006-05-02 | 1 | -0/+33 |
| | | | | weakref.WeakKeyDictionary and weakref.WeakValueDictionary | ||||
* | SF patch #1379023: document that a weakref callback is not invoked if the | Armin Rigo | 2005-12-29 | 1 | -2/+2 |
| | | | | weakref object itself is deleted first. | ||||
* | Add doctest for examples in libweakref.tex to test_weakref. | Georg Brandl | 2005-07-02 | 1 | -2/+4 |
| | |||||
* | bug [ 1228904 ] weakref example broken | Georg Brandl | 2005-07-02 | 1 | -5/+2 |
| | |||||
* | Make weak references subclassable: | Fred Drake | 2004-07-02 | 1 | -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 Hettinger | 2004-06-12 | 1 | -0/+1 |
| | |||||
* | Add weakref support to sockets and re pattern objects. | Raymond Hettinger | 2004-05-31 | 1 | -3/+17 |
| | |||||
* | minor markup adjustments | Fred Drake | 2004-02-03 | 1 | -2/+2 |
| | |||||
* | Clarify minor point about the ref() and proxy() constructors. | Fred Drake | 2004-02-03 | 1 | -1/+2 |
| | | | | This matches what is already documented for corresponding feature of the C API. | ||||
* | use consistent email address for Tim | Fred Drake | 2003-12-30 | 1 | -1/+1 |
| | |||||
* | Patch #849350: Update to document bool return values. Backported to 2.3. | Martin v. Löwis | 2003-11-27 | 1 | -1/+1 |
| | |||||
* | More words: gave more motivation, and added cautions about the special | Tim Peters | 2003-11-21 | 1 | -10/+51 |
| | | | | dangers of trying to iterate over weak dicts. | ||||
* | Grammar nit. SF bug #757822 | Raymond Hettinger | 2003-07-02 | 1 | -1/+1 |
| | |||||
* | Described responsibilty of weakly referenced extension types to initialize | Raymond Hettinger | 2002-08-07 | 1 | -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: Modifying | Guido van Rossum | 2001-12-08 | 1 | -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 Drake | 2001-11-26 | 1 | -1/+1 |
| | |||||
* | Many, many small fixes and improvements, most suggested by Detlef Lannert. | Fred Drake | 2001-10-26 | 1 | -17/+27 |
| | |||||
* | Typo: destuction --> destruction | Fred Drake | 2001-10-26 | 1 | -1/+1 |
| | | | | Reported by Thomas Heller. | ||||
* | Minor textual adjustment, and style-guide conformance (no use of "iff"). | Fred Drake | 2001-10-26 | 1 | -4/+5 |
| | |||||
* | Update the documentation to reflect the changes to ReferenceError. | Fred Drake | 2001-10-06 | 1 | -1/+2 |
| | |||||
* | Fix some of the example code; the reference objects do not support a | Fred Drake | 2001-08-03 | 1 | -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 Drake | 2001-06-29 | 1 | -1/+1 |
| | | | | Reported by Milan Zamazal <pdm@zamazal.org>. | ||||
* | Corrected an error in the information on supporting weak references in | Fred Drake | 2001-06-22 | 1 | -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 Drake | 2001-05-10 | 1 | -1/+1 |
| | | | | This closes SF bug #423087. | ||||
* | Include a synopsis for the chapter overview. | Fred Drake | 2001-04-11 | 1 | -0/+1 |
| | |||||
* | Remove the mapping() function from the documentation. | Fred Drake | 2001-04-10 | 1 | -25/+15 |
| | | | | Add a description of the ReferenceError exception. | ||||
* | Added example use of weak references, contributed by Tim Peters. | Fred Drake | 2001-03-28 | 1 | -0/+22 |
| | |||||
* | Update to the most recent weakref changes. | Fred Drake | 2001-03-23 | 1 | -11/+4 |
| | |||||
* | Patch #403985: Add support for weak-keyed dictionaries | Martin v. Löwis | 2001-02-27 | 1 | -16/+36 |
| | |||||
* | Fix two typos | Andrew M. Kuchling | 2001-02-14 | 1 | -2/+2 |
| | |||||
* | Documentation for the weakref module. | Fred Drake | 2001-02-01 | 1 | -0/+227 |