| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | SF #1547931, fix typo (missing and). Backport candidate for 2.3/2.4 too | Neal Norwitz | 2006-09-02 | 1 | -1/+1 |
| | | |||||
| * | __hash__ may now return long int; the final hash | Martin v. Löwis | 2006-08-09 | 1 | -0/+5 |
| | | | | | | value is obtained by invoking hash on the long int. Fixes #1536021. | ||||
| * | Bug #1536660: separate two words. | Georg Brandl | 2006-08-08 | 1 | -1/+1 |
| | | |||||
| * | Bug #1531349: right <-> left glitch in __rop__ description. | Georg Brandl | 2006-07-30 | 1 | -1/+1 |
| | | |||||
| * | Clarify that __op__ methods must return NotImplemented if they don't support ↵ | Georg Brandl | 2006-07-30 | 1 | -0/+3 |
| | | | | | the operation. | ||||
| * | remove unnecessary markup | Fred Drake | 2006-06-18 | 1 | -1/+1 |
| | | |||||
| * | markup fix | George Yoshida | 2006-06-17 | 1 | -1/+1 |
| | | |||||
| * | 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. | ||||
| * | Bug #1501122: mention __gt__ &co in description of comparison order. | Georg Brandl | 2006-06-14 | 1 | -2/+6 |
| | | |||||
| * | SF patch #1303595: improve description of __builtins__, explaining how it | Fred Drake | 2006-06-10 | 1 | -4/+14 |
| | | | | | | varies between __main__ and other modules, and strongly suggest not touching it but using __builtin__ if absolutely necessary | ||||
| * | End of Ch.3 is now about "with statement". | George Yoshida | 2006-05-27 | 1 | -3/+3 |
| | | | | | Avoid obsolescence by directly referring to the section. | ||||
| * | minor markup nits | George Yoshida | 2006-05-27 | 2 | -4/+5 |
| | | |||||
| * | Patch #1492218: document None being a constant. | Georg Brandl | 2006-05-26 | 1 | -7/+9 |
| | | |||||
| * | Fix the TeX compile error. | George Yoshida | 2006-05-21 | 1 | -1/+1 |
| | | |||||
| * | - Add 'as' and 'with' as new keywords in 2.5. | George Yoshida | 2006-05-20 | 1 | -9/+13 |
| | | | | | - Regenerate keyword lists with reswords.py. | ||||
| * | - markup fix | George Yoshida | 2006-05-20 | 2 | -4/+5 |
| | | | | | - add clarifying words | ||||
| * | Duplicated description about the illegal continue usage can be found in ↵ | George Yoshida | 2006-05-12 | 1 | -5/+2 |
| | | | | | | | nearly the same place. They are same, so keep the original one and remove the later-added one. | ||||
| * | At first there were 6 steps, but one was removed after that. | George Yoshida | 2006-05-12 | 1 | -1/+1 |
| | | |||||
| * | Finish bringing SVN into line with latest version of PEP 343 by getting rid ↵ | Nick Coghlan | 2006-05-03 | 2 | -11/+8 |
| | | | | | 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() | ||||
| * | one more place to avoid extra markup | Fred Drake | 2006-05-03 | 1 | -1/+1 |
| | | |||||
| * | avoid ugly markup based on the unfortunate conversions of ">>" and "<<" to | Fred Drake | 2006-05-03 | 3 | -7/+7 |
| | | | | | 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 | 2 | -24/+5 |
| | | | | | | | | | 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 | 2 | -5/+5 |
| | | |||||
| * | Move the PEP 343 documentation and implementation closer to the | Nick Coghlan | 2006-04-25 | 2 | -32/+33 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | 2 | -28/+26 |
| | | | | | instead of context object | ||||
| * | Update with statement documentation to use same terminology as 2.5a1 ↵ | Nick Coghlan | 2006-04-23 | 2 | -27/+38 |
| | | | | | implementation | ||||
| * | wrap SyntaxError with \exception{} | George Yoshida | 2006-04-23 | 1 | -1/+1 |
| | | |||||
| * | 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 | 2 | -0/+4 |
| | | |||||
| * | The "with" statement needs a __future__. :) | Phillip J. Eby | 2006-03-27 | 1 | -0/+11 |
| | | |||||
| * | Document the "with" statement. | Phillip J. Eby | 2006-03-27 | 1 | -1/+56 |
| | | |||||
| * | Document the PEP 343 context manager protocol methods. | Phillip J. Eby | 2006-03-27 | 1 | -0/+58 |
| | | |||||
| * | Yield is now allowed in try-finally, so update docs accordingly | Phillip J. Eby | 2006-03-25 | 1 | -5/+11 |
| | | |||||
| * | 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). | ||||
| * | PEP 343 -- the with-statement. | Guido van Rossum | 2006-02-27 | 1 | -0/+6 |
| | | | | | | | | | | | | | | This was started by Mike Bland and completed by Guido (with help from Neal). This still needs a __future__ statement added; Thomas is working on Michael's patch for that aspect. There's a small amount of code cleanup and refactoring in ast.c, compile.c and ceval.c (I fixed the lltrace behavior when EXT_POP is used -- however I had to make lltrace a static global). | ||||
| * | Note version added for conditional expressions | Neal Norwitz | 2006-02-27 | 1 | -1/+1 |
| | | |||||
| * | PEP 308 implementation, including minor refdocs and some testcases. It | Thomas Wouters | 2006-02-27 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | breaks the parser module, because it adds the if/else construct as well as two new grammar rules for backward compatibility. If no one else fixes parsermodule, I guess I'll go ahead and fix it later this week. The TeX code was checked with texcheck.py, but not rendered. There is actually a slight incompatibility: >>> (x for x in lambda:0) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: iteration over non-sequence changes into >>> (x for x in lambda: 0) File "<stdin>", line 1 (x for x in lambda: 0) ^ SyntaxError: invalid syntax Since there's no way the former version can be useful, it's probably a bugfix ;) | ||||
| * | SF patch #1421726 | Fredrik Lundh | 2006-02-02 | 1 | -1/+1 |
| | | | | | fixed typo in language reference | ||||
| * | Add markup to a "Python Standard Library" doc reference I added for bug 839585. | Georg Brandl | 2006-01-20 | 1 | -2/+3 |
| | | |||||
| * | Remove dots in \version{changed,added} argument and | Georg Brandl | 2006-01-15 | 1 | -1/+1 |
| | | | | | correct argument order. | ||||
| * | Bug #839585: mention % string operator in language ref | Georg Brandl | 2005-12-26 | 1 | -0/+6 |
| | | |||||
| * | 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. | ||||
| * | Doc for PEP 341, needs improvement | Neal Norwitz | 2005-12-17 | 1 | -19/+21 |
| | | |||||
| * | Add placeholder section on old and new-style classes | Andrew M. Kuchling | 2005-12-04 | 1 | -0/+13 |
| | | |||||
| * | Bug #1359053: Doc: \Uxxxxxxxx escapes _are_ interpreted in raw unicode strings | Georg Brandl | 2005-11-22 | 1 | -2/+3 |
| | | |||||
| * | Remove .cvsignore files, as they live in svn:ignore | Martin v. Löwis | 2005-10-30 | 1 | -3/+0 |
| | | | | | properties now. | ||||
| * | add missing "and" | Fred Drake | 2005-10-30 | 1 | -2/+3 |
| | | |||||
| * | Make close brace a paren to match open. | Neal Norwitz | 2005-10-04 | 1 | -1/+1 |
| | | |||||
