Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add labels to all sections | Andrew M. Kuchling | 2006-04-26 | 1 | -11/+11 |
| | |||||
* | [Bug #1475080] Fix example | Andrew M. Kuchling | 2006-04-26 | 1 | -2/+2 |
| | |||||
* | Fix an error in the last contextlib.closing example | Nick Coghlan | 2006-04-26 | 1 | -3/+3 |
| | |||||
* | minor adjustment suggested by Peter Gephardt | Fred Drake | 2006-04-26 | 1 | -1/+1 |
| | |||||
* | markup fixes, cleanup | Fred Drake | 2006-04-26 | 2 | -38/+67 |
| | |||||
* | minor tweak | George Yoshida | 2006-04-25 | 1 | -1/+1 |
| | |||||
* | Rework context terminology | Andrew M. Kuchling | 2006-04-25 | 1 | -21/+22 |
| | |||||
* | Add two items; easy_install is now off the table, though pkgutil still is | Andrew M. Kuchling | 2006-04-25 | 1 | -1/+14 |
| | |||||
* | Fix markup glitch in unittest docs. Will backport. | Thomas Wouters | 2006-04-25 | 1 | -1/+1 |
| | |||||
* | Fix latex typo | Nick Coghlan | 2006-04-25 | 1 | -1/+1 |
| | |||||
* | Move the PEP 343 documentation and implementation closer to the | Nick Coghlan | 2006-04-25 | 4 | -100/+121 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Revert previous change, SKIP had a versionadded elsewhere | Neal Norwitz | 2006-04-25 | 1 | -1/+0 |
| | |||||
* | versionadded for SKIP | Neal Norwitz | 2006-04-25 | 1 | -0/+1 |
| | |||||
* | Patch #1475231: add a new SKIP doctest option, thanks to | Tim Peters | 2006-04-25 | 1 | -0/+15 |
| | | | | Edward Loper. | ||||
* | Edits, using the new term | Andrew M. Kuchling | 2006-04-24 | 1 | -29/+31 |
| | | | | 'context specifier' in a few places | ||||
* | Change PEP 343 related documentation to use the term context specifier ↵ | Nick Coghlan | 2006-04-24 | 4 | -67/+78 |
| | | | | instead of context object | ||||
* | Bug #1337990: clarified that `doctest` does not support examples | Tim Peters | 2006-04-24 | 1 | -4/+7 |
| | | | | | | requiring both expected output and an exception. I'll backport to 2.4 next. | ||||
* | Add two items | Andrew M. Kuchling | 2006-04-23 | 1 | -0/+29 |
| | |||||
* | Edits to the PEP 343 section | Andrew M. Kuchling | 2006-04-23 | 1 | -65/+62 |
| | |||||
* | it's always helpful if the example works... | Skip Montanaro | 2006-04-23 | 1 | -6/+8 |
| | |||||
* | minor tweak | Skip Montanaro | 2006-04-23 | 1 | -2/+2 |
| | |||||
* | first cut at trace module doc | Skip Montanaro | 2006-04-23 | 2 | -1/+96 |
| | |||||
* | Take 2 on mentioning the with statement, this time without inadvertently ↵ | Nick Coghlan | 2006-04-23 | 1 | -3/+5 |
| | | | | killing the Unicode examples | ||||
* | Add a (very) brief mention of the with statement to the end of chapter 8 | Nick Coghlan | 2006-04-23 | 1 | -3/+33 |
| | |||||
* | Update with statement documentation to use same terminology as 2.5a1 ↵ | Nick Coghlan | 2006-04-23 | 2 | -27/+38 |
| | | | | implementation | ||||
* | Update contextlib documentation to use the same terminology as the module ↵ | Nick Coghlan | 2006-04-23 | 1 | -7/+8 |
| | | | | implementation | ||||
* | Add a Context Types section to parallel the Iterator Types section (uses the ↵ | Nick Coghlan | 2006-04-23 | 1 | -0/+96 |
| | | | | same terminology as the 2.5a1 implementation) | ||||
* | wrap SyntaxError with \exception{} | George Yoshida | 2006-04-23 | 1 | -1/+1 |
| | |||||
* | Update optparse to Optik 1.5.1. | Greg Ward | 2006-04-23 | 1 | -73/+330 |
| | |||||
* | - add versionadded tag | George Yoshida | 2006-04-22 | 1 | -1/+3 |
| | | | | - make arbitrary arguments come last | ||||
* | Typo fixes | George Yoshida | 2006-04-22 | 1 | -2/+2 |
| | |||||
* | Add libctypes as a dep | Neal Norwitz | 2006-04-22 | 1 | -0/+1 |
| | |||||
* | Add Gregory K. Johnson's revised version of mailbox.py (funded by | Andrew M. Kuchling | 2006-04-22 | 1 | -51/+1302 |
| | | | | | | | | | | | | | | | | | the 2005 Summer of Code). The revision adds a number of new mailbox classes that support adding and removing messages; these classes also support mailbox locking and default to using email.Message instead of rfc822.Message. The old mailbox classes are largely left alone for backward compatibility. The exception is the Maildir class, which was present in the old module and now inherits from the new classes. The Maildir class's interface is pretty simple, though, so I think it'll be compatible with existing code. (The change to the NEWS file also adds a missing word to a different news item, which unfortunately required rewrapping the line.) | ||||
* | Typo fixes | Andrew M. Kuchling | 2006-04-22 | 1 | -2/+2 |
| | |||||
* | Guido wrote contextlib, not me, but thanks anyway. ;) | Phillip J. Eby | 2006-04-21 | 1 | -1/+0 |
| | |||||
* | Documentation for ctypes. | Thomas Heller | 2006-04-21 | 2 | -0/+1227 |
| | | | | | | | | | I think that 'generic operating system services' is the best category. Note that the Doc/lib/libctypes.latex file is generated from reST sources. You are welcome to make typo fixes, and I'll try to keep the reST sources in sync, but markup changes would be lost - they should be fixed in the tool that creates the latex file. The conversion script is external/ctypes/docs/manual/mkpydoc.py. | ||||
* | Correct the grammar | George Yoshida | 2006-04-21 | 1 | -3/+3 |
| | |||||
* | Fix a markup. | George Yoshida | 2006-04-21 | 1 | -1/+1 |
| | | | | This generated a ugly code, "P>". | ||||
* | Add item | Andrew M. Kuchling | 2006-04-21 | 1 | -0/+5 |
| | |||||
* | Add \label to make better HTML filenames | Andrew M. Kuchling | 2006-04-21 | 1 | -16/+16 |
| | |||||
* | Add two items; typographical improvement for the 'with' statement; minor edits | Andrew M. Kuchling | 2006-04-21 | 1 | -29/+48 |
| | |||||
* | Typo, grammar fixes. This file could use another proofreading pass. | Andrew M. Kuchling | 2006-04-21 | 1 | -25/+25 |
| | |||||
* | Add TODO item | Andrew M. Kuchling | 2006-04-21 | 1 | -0/+1 |
| | |||||
* | Typo fixes | Andrew M. Kuchling | 2006-04-21 | 1 | -6/+6 |
| | |||||
* | Allow pstats.Stats creator to specify an alternate to stdout. | Skip Montanaro | 2006-04-21 | 1 | -9/+9 |
| | |||||
* | Change a footnote to a parenthetical (in two senses) paragraph | Andrew M. Kuchling | 2006-04-20 | 1 | -5/+8 |
| | |||||
* | Argh, make another markup fix | Andrew M. Kuchling | 2006-04-20 | 1 | -1/+1 |
| | |||||
* | Markup fix | Andrew M. Kuchling | 2006-04-20 | 1 | -1/+1 |
| | |||||
* | Add some items; add "New module" consistently; make contextlib.closing ↵ | Andrew M. Kuchling | 2006-04-20 | 1 | -20/+44 |
| | | | | example more interesting and more correct (thanks Gustavo!); add a name | ||||
* | Correct implementation and documentation of os.confstr. Add a simple test | Skip Montanaro | 2006-04-20 | 1 | -3/+3 |
| | | | | case. I've yet to figure out how to provoke a None return I can test. |