Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #1153163: describe __add__ vs __radd__ behavior when adding | Georg Brandl | 2006-06-14 | 1 | -4/+19 |
| | | | | objects of same type/of subclasses of the other. | ||||
* | minor markup nits | George Yoshida | 2006-05-27 | 1 | -3/+3 |
| | |||||
* | Finish bringing SVN into line with latest version of PEP 343 by getting rid ↵ | Nick Coghlan | 2006-05-03 | 1 | -9/+6 |
| | | | | of all remaining references to context objects that I could find. Without a __context__() method context objects no longer exist. Also get test_with working again, and adopt a suggestion from Neal for decimal.Context.get_manager() | ||||
* | avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to | Fred Drake | 2006-05-03 | 1 | -5/+5 |
| | | | | guillemets; no need for magic here | ||||
* | Get rid of __context__, per the latest changes to PEP 343 and python-dev | Guido van Rossum | 2006-05-02 | 1 | -16/+0 |
| | | | | | | | | discussion. There are two places of documentation that still mention __context__: Doc/lib/libstdtypes.tex -- I wasn't quite sure how to rewrite that without spending a whole lot of time thinking about it; and whatsnew, which Andrew usually likes to change himself. | ||||
* | Patch #1479438: add \keyword markup for "with". | Georg Brandl | 2006-04-30 | 1 | -3/+3 |
| | |||||
* | Move the PEP 343 documentation and implementation closer to the | Nick Coghlan | 2006-04-25 | 1 | -24/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | terminology in the alpha 1 documentation. - "context manager" reverts to its alpha 1 definition - the term "context specifier" goes away entirely - contextlib.GeneratorContextManager is renamed GeneratorContext There are still a number of changes relative to alpha 1: - the expression in the with statement is explicitly called the "context expression" in the language reference - the terms 'with statement context', 'context object' or 'with statement context' are used in several places instead of a bare 'context'. The aim of this is to avoid ambiguity in relation to the runtime context set up when the block is executed, and the context objects that already exist in various application domains (such as decimal.Context) - contextlib.contextmanager is renamed to contextfactory This best reflects the nature of the function resulting from the use of that decorator - decimal.ContextManager is renamed to WithStatementContext Simple dropping the 'Manager' part wasn't possible due to the fact that decimal.Context already exists and means something different. WithStatementContext is ugly but workable. A technically unrelated change snuck into this commit: contextlib.closing now avoids the overhead of creating a generator, since it's trivial to implement that particular context manager directly. | ||||
* | Change PEP 343 related documentation to use the term context specifier ↵ | Nick Coghlan | 2006-04-24 | 1 | -23/+21 |
| | | | | instead of context object | ||||
* | Update with statement documentation to use same terminology as 2.5a1 ↵ | Nick Coghlan | 2006-04-23 | 1 | -20/+32 |
| | | | | implementation | ||||
* | bug #1462278: small fix in documentation of __op__ vs __rop__ methods | Georg Brandl | 2006-04-01 | 1 | -8/+9 |
| | |||||
* | typos | Georg Brandl | 2006-03-31 | 1 | -2/+2 |
| | |||||
* | Add index entries for new-style/old-style class. | Georg Brandl | 2006-03-31 | 1 | -1/+5 |
| | |||||
* | Add version added info for with statement and context managers | Neal Norwitz | 2006-03-28 | 1 | -0/+2 |
| | |||||
* | Document the PEP 343 context manager protocol methods. | Phillip J. Eby | 2006-03-27 | 1 | -0/+58 |
| | |||||
* | Checking in the code for PEP 357. | Guido van Rossum | 2006-03-07 | 1 | -0/+7 |
| | | | | | | This was mostly written by Travis Oliphant. I've inspected it all; Neal Norwitz and MvL have also looked at it (in an earlier incarnation). | ||||
* | Updating the short blob about old/new-style classes to reflect (IMHO) more | Armin Rigo | 2005-12-26 | 1 | -7/+35 |
| | | | | | | | | precisely the motivation and the differences. Added links to www.python.org/doc/newstyle.html and a footnote to warn against the statement "x[i] is equivalent to x.__getitem__(i)", which already caused many invalid bug reports on SF. | ||||
* | Add placeholder section on old and new-style classes | Andrew M. Kuchling | 2005-12-04 | 1 | -0/+13 |
| | |||||
* | add missing "and" | Fred Drake | 2005-10-30 | 1 | -2/+3 |
| | |||||
* | Better wording for integer ref entry. | Georg Brandl | 2005-09-12 | 1 | -2/+2 |
| | |||||
* | - fix typo report by email, only 1.5 years late | Fred Drake | 2005-09-07 | 1 | -7/+7 |
| | | | | - fix several consistency nits relating to \method{...()} | ||||
* | Clarify what is meant with "whole numbers". | Georg Brandl | 2005-09-04 | 1 | -1/+2 |
| | |||||
* | __new__ is a static method | Georg Brandl | 2005-08-26 | 1 | -1/+1 |
| | |||||
* | bug [ 1261229 ] __new__ is class method | Georg Brandl | 2005-08-25 | 1 | -1/+1 |
| | |||||
* | SF bug #1249837: container methods raise KeyError not IndexError | Raymond Hettinger | 2005-08-21 | 1 | -0/+2 |
| | | | | Minor clarification. | ||||
* | Patch [ 1230615 ] Patch for (Doc) #1168746 | Georg Brandl | 2005-07-02 | 1 | -11/+14 |
| | | | | Bug [ 1204734 ] incorrect description of __getattribute__ | ||||
* | Fix typo. | Raymond Hettinger | 2005-04-26 | 1 | -1/+1 |
| | |||||
* | SF #1156412: document the __new__() static method | Greg Ward | 2005-03-08 | 1 | -0/+29 |
| | | | | (merge from release24-maint branch). | ||||
* | SF Patch #1093896: miscellaneous doc typos | Raymond Hettinger | 2005-01-01 | 1 | -1/+1 |
| | |||||
* | This is my patch | Michael W. Hudson | 2004-08-12 | 1 | -22/+49 |
| | | | | | | | [ 1004703 ] Make func_name writable plus fixing a couple of nits in the documentation changes spotted by MvL and a Misc/NEWS entry. | ||||
* | Add a missing space. | Brett Cannon | 2004-06-29 | 1 | -1/+1 |
| | |||||
* | note that descriptor objects must be instances of new-style types | Fred Drake | 2004-05-06 | 1 | -1/+2 |
| | | | | (closes SF bug #817742) | ||||
* | clean up indexing for None, NotImplemented | Fred Drake | 2004-01-01 | 1 | -4/+2 |
| | | | | closes SF bug #820344 | ||||
* | Patch #821093: Fix various typos. | Martin v. Löwis | 2003-10-19 | 1 | -1/+1 |
| | |||||
* | SF 810242. Fix doubled word errors. | Raymond Hettinger | 2003-09-22 | 1 | -1/+1 |
| | |||||
* | Added doubled word warnings. | Raymond Hettinger | 2003-08-25 | 1 | -1/+1 |
| | |||||
* | Fix representation of ^= operator in __ixor__() documentation. | Fred Drake | 2003-07-23 | 1 | -1/+1 |
| | | | | Closes SF bug #776181. Should be backported. | ||||
* | Minor corrections. | Raymond Hettinger | 2003-07-17 | 1 | -1/+1 |
| | |||||
* | - improve the description of how user-defined method | Fred Drake | 2003-07-17 | 1 | -25/+85 |
| | | | | | | | | objects get made - improve the description of attribute retrieval from classes and class instances - add brief documentation of static method and class method objects. | ||||
* | Clarify the lack of relationship between rich comparison operators. | Raymond Hettinger | 2003-07-16 | 1 | -0/+5 |
| | | | | Prompted by a discussion on comp.lang.python. | ||||
* | Indexing is a mess; try to get the link targets closer to the relevant | Fred Drake | 2003-07-15 | 1 | -3/+2 |
| | | | | text. There needs to be a better way. | ||||
* | Discuss calling new-style types. | Fred Drake | 2003-07-15 | 1 | -1/+9 |
| | | | | Closes SF bug #453683. | ||||
* | Minor fixes to punctuation and grammar. | Raymond Hettinger | 2003-06-29 | 1 | -5/+5 |
| | |||||
* | * Markup nits for the Invoking Descriptors section | Raymond Hettinger | 2003-06-27 | 1 | -7/+121 |
| | | | | | | | * Documented __slots__ * Documented __metaclass__ Shamelessly plagarized from Guido's tutorial. | ||||
* | remove _ from label: LaTeX rejects this due to all the magic we use to | Fred Drake | 2003-06-26 | 1 | -1/+1 |
| | | | | get the _ character to format like a normal character | ||||
* | * Document how descriptors are invoked. | Raymond Hettinger | 2003-06-25 | 1 | -3/+63 |
| | | | | * Fix minor parenthesis matching errors in ref3.tex. | ||||
* | Add explicit text for where an obindex call for generators was since obindex ↵ | Brett Cannon | 2003-06-15 | 1 | -1/+2 |
| | | | | does not cause output of its argument. | ||||
* | Add a specific mention of the term "operator overloading" and add an | Fred Drake | 2003-05-12 | 1 | -1/+4 |
| | | | | index entry. Suggested to python-docs. | ||||
* | - apply SF patch #700798: fixes and cleanups for descriptor info | Fred Drake | 2003-03-20 | 1 | -13/+13 |
| | | | | - use a TeX "tie" to prevent word-wrapping in "section x.y"-like text | ||||
* | I thought it was common practice to check things compiled before | Michael W. Hudson | 2003-03-05 | 1 | -5/+5 |
| | | | | | | | checking them in? Oh well, this fixes various obvious mistakes and changes a subsubsubsection (which doesn't exist) into a subsubsection (which does). I'm not sure this matches the intent, but it seems to read OK on a quick skim. | ||||
* | SF doc patch #692001, properties and __getattribute__. I added some | Guido van Rossum | 2003-02-28 | 1 | -8/+54 |
| | | | | stuff, and changed 'property' to 'descriptor'. |