Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Rev 45706 renamed stuff in contextlib.py, but didn't rename | Tim Peters | 2006-04-26 | 1 | -8/+8 |
| | | | | | | | | | | | | | | uses of it in test_with.py. As a result, test_with has been skipped (due to failing imports) on all buildbot boxes since. Alas, that's not a test failure -- you have to pay attention to the 1 skip unexpected on PLATFORM: test_with kinds of output at the ends of test runs to notice that this got broken. It's likely that more renaming in test_with.py would be desirable. | ||||
* | Implement MvL's improvement on __context__ in Condition; | Guido van Rossum | 2006-04-25 | 1 | -5/+1 |
| | | | | | this can just call __context__ on the underlying lock. (The same change for Semaphore does *not* work!) | ||||
* | Fix compiler warnings on Darwin. | Thomas Heller | 2006-04-25 | 1 | -5/+5 |
| | | | | | Patch by Brett Canon, see https://sourceforge.net/tracker/?func=detail&atid=532156&aid=1475959&group_id=71702 | ||||
* | Define MAXPATHLEN to be at least PATH_MAX, if that's defined. Python uses | Thomas Wouters | 2006-04-25 | 3 | -0/+12 |
| | | | | | | | | | MAXPATHLEN-sized buffers for various output-buffers (like to realpath()), and that's correct on BSD platforms, but not Linux (which uses PATH_MAX, and does not define MAXPATHLEN.) Cursory googling suggests Linux is following a newer standard than BSD, but in cases like this, who knows. Using the greater of PATH_MAX and 1024 as a fallback for MAXPATHLEN seems to be the most portable solution. | ||||
* | Fix SF bug #1476111: SystemError in socket sendto. The AF_INET6 and | Thomas Wouters | 2006-04-25 | 1 | -0/+16 |
| | | | | | | AF_PACKET cases in getsockaddrarg were missing their own checks for tuple-ness of the address argument, which means a confusing SystemError was raised by PyArg_ParseTuple instead. | ||||
* | minor tweak | George Yoshida | 2006-04-25 | 1 | -1/+1 |
| | |||||
* | SF bug/patch #1433877: string parameter to ioctl not null terminated | Thomas Wouters | 2006-04-25 | 3 | -13/+12 |
| | | | | | | | The new char-array used in ioctl calls wasn't explicitly NUL-terminated; quite probably the cause for the test_pty failures on Solaris that we circumvented earlier. (I wasn't able to reproduce it with this patch, but it has been somewhat elusive to start with.) | ||||
* | 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 | 7 | -139/+163 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 |
| | |||||
* | Restore Walters name | Neal Norwitz | 2006-04-25 | 1 | -1/+1 |
| | |||||
* | 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 | 4 | -0/+47 |
| | | | | Edward Loper. | ||||
* | Put break at correct level so *all* root HKEYs acutally get checked for | Trent Mick | 2006-04-25 | 1 | -1/+1 |
| | | | | | an installed VC6. Otherwise only the first such tree gets checked and this warning doesn't get displayed. | ||||
* | Whitespace normalization. | Tim Peters | 2006-04-24 | 1 | -1/+1 |
| | |||||
* | Revert addition of setuptools | Phillip J. Eby | 2006-04-24 | 40 | -10118/+0 |
| | |||||
* | Edits, using the new term | Andrew M. Kuchling | 2006-04-24 | 1 | -29/+31 |
| | | | | 'context specifier' in a few places | ||||
* | Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers. | Thomas Wouters | 2006-04-24 | 1 | -0/+1 |
| | |||||
* | More reliable version of new command line tests that just checks the exit codes | Nick Coghlan | 2006-04-24 | 1 | -2/+37 |
| | |||||
* | Back out new command line tests (broke buildbot) | Nick Coghlan | 2006-04-24 | 1 | -55/+0 |
| | |||||
* | Fix broken contextlib test from last checkin (I'd've sworn I tested that ↵ | Nick Coghlan | 2006-04-24 | 1 | -0/+2 |
| | | | | before checking it in. . .) | ||||
* | Fix contextlib.nested to cope with exit methods raising and handling exceptions | Nick Coghlan | 2006-04-24 | 3 | -1/+33 |
| | |||||
* | Add unit tests for the -m and -c command line switches | Nick Coghlan | 2006-04-24 | 2 | -0/+57 |
| | |||||
* | Change PEP 343 related documentation to use the term context specifier ↵ | Nick Coghlan | 2006-04-24 | 4 | -67/+78 |
| | | | | instead of context object | ||||
* | Note changes made to PEP 343 related documentation | Nick Coghlan | 2006-04-24 | 1 | -1/+5 |
| | |||||
* | Bug #1337990: clarified that `doctest` does not support examples | Tim Peters | 2006-04-24 | 2 | -4/+9 |
| | | | | | | 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 |
| | |||||
* | correct example | Skip Montanaro | 2006-04-23 | 1 | -9/+11 |
| | |||||
* | 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 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-04-23 | 1 | -2/+2 |
| | |||||
* | Backdated NEWS entry to record the implementation of PEP 338 for alpha 1 | Nick Coghlan | 2006-04-23 | 1 | -0/+7 |
| | |||||
* | 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 | ||||
* | Updated the sqlite3 module to the external pysqlite 2.2.2 version. | Gerhard Häring | 2006-04-23 | 22 | -314/+311 |
| | |||||
* | 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) | ||||
* | Patch 1471761 - test for broken poll at runtime | Ronald Oussoren | 2006-04-23 | 1 | -17/+66 |
| | | | | | This patch checks if poll is broken when the select module is loaded instead of doing so at configure-time. This functionality is only active on Mac OS X. | ||||
* | Patch 1471925 - Weak linking support for OSX | Ronald Oussoren | 2006-04-23 | 3 | -2/+98 |
| | | | | | | This patch causes several symbols in the socket and posix module to be weakly linked on OSX and disables usage of ftime on OSX. These changes make it possible to use a binary build on OSX 10.4 on a 10.3 system. | ||||
* | wrap SyntaxError with \exception{} | George Yoshida | 2006-04-23 | 1 | -1/+1 |
| | |||||
* | Update optparse to Optik 1.5.1. | Greg Ward | 2006-04-23 | 4 | -179/+633 |
| | |||||
* | Remove $CJKCodecs$ RCS tags. The CJKCodecs isn't maintained outside | Hye-Shik Chang | 2006-04-22 | 11 | -11/+0 |
| | | | | anymore. |