Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename parameters to match the documentation (which | Martin v. Löwis | 2006-05-01 | 2 | -16/+15 |
| | | | | | in turn matches Microsoft's documentation). Drop unused parameter in CAB.append. | ||||
* | Rename uisample to text, drop all non-text tables. | Martin v. Löwis | 2006-05-01 | 2 | -1399/+129 |
| | |||||
* | Port forward from 2.4 branch: | Barry Warsaw | 2006-05-01 | 5 | -0/+24 |
| | | | | | | | | | | Patch #1464708 from William McVey: fixed handling of nested comments in mail addresses. E.g. "Foo ((Foo Bar)) <foo@example.com>" Fixes for both rfc822.py and email package. This patch needs to be back ported to Python 2.3 for email 2.5. | ||||
* | Patch #1472854: make the rlcompleter.Completer class usable on non- | Georg Brandl | 2006-04-30 | 2 | -7/+7 |
| | | | | UNIX platforms. | ||||
* | Fix another problem in inspect: if the module for an object cannot be found, ↵ | Georg Brandl | 2006-04-30 | 1 | -1/+5 |
| | | | | don't try to give its __dict__ to linecache. | ||||
* | Fix infinite regress when inspecting <string> or <stdin> frames. | Phillip J. Eby | 2006-04-30 | 1 | -1/+7 |
| | |||||
* | Bug #1473625: stop cPickle making float dumps locale dependent in protocol 0. | Georg Brandl | 2006-04-30 | 5 | -52/+64 |
| | | | | | On the way, add a decorator to test_support to facilitate running single test functions in different locales with automatic cleanup. | ||||
* | Patch #1470976: don't NLST files when retrieving over FTP. | Georg Brandl | 2006-04-30 | 1 | -7/+0 |
| | |||||
* | In stdlib, use hashlib instead of deprecated md5 and sha modules. | Georg Brandl | 2006-04-30 | 6 | -17/+16 |
| | |||||
* | Patch #1470846: fix urllib2 ProxyBasicAuthHandler. | Georg Brandl | 2006-04-30 | 3 | -45/+244 |
| | |||||
* | Fix docstring for contextfactory; mentioned old contextmanager name. | Brett Cannon | 2006-04-29 | 1 | -1/+1 |
| | |||||
* | Patch 1471883: --enable-universalsdk on Mac OS X | Ronald Oussoren | 2006-04-29 | 1 | -2/+2 |
| | |||||
* | Bug #1478429: make datetime.datetime.fromtimestamp accept every float, | Georg Brandl | 2006-04-28 | 1 | -0/+6 |
| | | | | possibly "rounding up" to the next whole second. | ||||
* | Remove a duplicated test (the same test is in test_incomplete.py). | Thomas Heller | 2006-04-28 | 1 | -21/+0 |
| | |||||
* | Bug #1478326: don't allow '/' in distutils.util.get_platform machine names | Georg Brandl | 2006-04-28 | 1 | -0/+1 |
| | | | | since this value is used to name the build directory. | ||||
* | Bug #1472949: stringify IOErrors in shutil.copytree when appending | Georg Brandl | 2006-04-28 | 1 | -1/+1 |
| | | | | them to the Error errors list. | ||||
* | Add SeaMonkey to the list of Mozilla browsers. | Georg Brandl | 2006-04-28 | 1 | -1/+1 |
| | |||||
* | Try to really fix the slow buildbots this time. | Neal Norwitz | 2006-04-28 | 1 | -0/+1 |
| | | | | | | Printing to stdout, doesn't mean the data was actually written. It depends on the buffering, so we need to flush. This will hopefully really fix the buildbots getting killed due to no output on the slow bots. | ||||
* | Add some whitespace to be more consistent. | Neal Norwitz | 2006-04-28 | 1 | -11/+13 |
| | |||||
* | Add more ignores of ImportWarnings; these are all just potential triggers | Thomas Wouters | 2006-04-27 | 1 | -1/+3 |
| | | | | | (since they won't trigger if zlib is already sucessfully imported); they were found by grepping .py files, instead of looking at warning output :) | ||||
* | - Add new Warning class, ImportWarning | Thomas Wouters | 2006-04-27 | 3 | -0/+24 |
| | | | | | | | | | | | | | | - Warn-raise ImportWarning when importing would have picked up a directory as package, if only it'd had an __init__.py. This swaps two tests (for case-ness and __init__-ness), but case-test is not really more expensive, and it's not in a speed-critical section. - Test for the new warning by importing a common non-package directory on sys.path: site-packages - In regrtest.py, silence warnings generated by the build-environment because Modules/ (which is added to sys.path for Setup-created modules) has 'zlib' and '_ctypes' directories without __init__.py's. | ||||
* | Do the small-memory run of big-meormy tests using a prime number, rather | Thomas Wouters | 2006-04-27 | 1 | -1/+1 |
| | | | | | than a convenient power-of-2-and-multiple-of-5, so incorrect testing algorithms fail more easily. | ||||
* | Some style fixes and size-calculation fixes. Also do the small-memory run | Thomas Wouters | 2006-04-27 | 1 | -16/+21 |
| | | | | | using a prime number, rather than a convenient power-of-2-and-multiple-of-5, so incorrect testing algorithms fail more easily. | ||||
* | Some more size-estimate fixes, for large-list-tests. | Thomas Wouters | 2006-04-27 | 1 | -2/+2 |
| | |||||
* | 2.5a2 | Anthony Baxter | 2006-04-27 | 2 | -1/+6 |
| | |||||
* | Some more test-size-estimate fixes: test_append and test_insert trigger a | Thomas Wouters | 2006-04-26 | 1 | -3/+7 |
| | | | | list resize, which overallocates. | ||||
* | Add tests for += and *= on strings, and fix the memory-use estimate for the | Thomas Wouters | 2006-04-26 | 1 | -3/+37 |
| | | | | list.extend tests (they were estimating half the actual use.) | ||||
* | Whitespace normalization. | Tim Peters | 2006-04-26 | 2 | -922/+922 |
| | |||||
* | The result of SF patch #1471578: big-memory tests for strings, lists and | Thomas Wouters | 2006-04-26 | 3 | -3/+1008 |
| | | | | | | tuples. Lots to be added, still, but this will give big-memory people something to play with in 2.5 alpha 2, and hopefully get more people to write these tests. | ||||
* | Fix this test on Solaris. There can be embedded \r, so don't just replace | Neal Norwitz | 2006-04-26 | 1 | -2/+2 |
| | | | | the one at the end. | ||||
* | 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!) | ||||
* | SF bug/patch #1433877: string parameter to ioctl not null terminated | Thomas Wouters | 2006-04-25 | 1 | -8/+1 |
| | | | | | | | 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.) | ||||
* | Move the PEP 343 documentation and implementation closer to the | Nick Coghlan | 2006-04-25 | 3 | -39/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Patch #1475231: add a new SKIP doctest option, thanks to | Tim Peters | 2006-04-25 | 2 | -0/+28 |
| | | | | 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 | 39 | -10115/+0 |
| | |||||
* | 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 | 2 | -1/+27 |
| | |||||
* | Add unit tests for the -m and -c command line switches | Nick Coghlan | 2006-04-24 | 1 | -0/+55 |
| | |||||
* | correct example | Skip Montanaro | 2006-04-23 | 1 | -9/+11 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-04-23 | 1 | -2/+2 |
| | |||||
* | Updated the sqlite3 module to the external pysqlite 2.2.2 version. | Gerhard Häring | 2006-04-23 | 5 | -37/+81 |
| | |||||
* | Update optparse to Optik 1.5.1. | Greg Ward | 2006-04-23 | 2 | -106/+298 |
| | |||||
* | Remove $CJKCodecs$ RCS tags. The CJKCodecs isn't maintained outside | Hye-Shik Chang | 2006-04-22 | 11 | -11/+0 |
| | | | | anymore. | ||||
* | Whitespace normalization. | Tim Peters | 2006-04-22 | 2 | -20/+20 |
| |