summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Rename parameters to match the documentation (whichMartin v. Löwis2006-05-012-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öwis2006-05-012-1399/+129
|
* Port forward from 2.4 branch:Barry Warsaw2006-05-015-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 Brandl2006-04-302-7/+7
| | | | UNIX platforms.
* Fix another problem in inspect: if the module for an object cannot be found, ↵Georg Brandl2006-04-301-1/+5
| | | | don't try to give its __dict__ to linecache.
* Fix infinite regress when inspecting <string> or <stdin> frames.Phillip J. Eby2006-04-301-1/+7
|
* Bug #1473625: stop cPickle making float dumps locale dependent in protocol 0.Georg Brandl2006-04-305-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 Brandl2006-04-301-7/+0
|
* In stdlib, use hashlib instead of deprecated md5 and sha modules.Georg Brandl2006-04-306-17/+16
|
* Patch #1470846: fix urllib2 ProxyBasicAuthHandler.Georg Brandl2006-04-303-45/+244
|
* Fix docstring for contextfactory; mentioned old contextmanager name.Brett Cannon2006-04-291-1/+1
|
* Patch 1471883: --enable-universalsdk on Mac OS XRonald Oussoren2006-04-291-2/+2
|
* Bug #1478429: make datetime.datetime.fromtimestamp accept every float,Georg Brandl2006-04-281-0/+6
| | | | possibly "rounding up" to the next whole second.
* Remove a duplicated test (the same test is in test_incomplete.py).Thomas Heller2006-04-281-21/+0
|
* Bug #1478326: don't allow '/' in distutils.util.get_platform machine namesGeorg Brandl2006-04-281-0/+1
| | | | since this value is used to name the build directory.
* Bug #1472949: stringify IOErrors in shutil.copytree when appendingGeorg Brandl2006-04-281-1/+1
| | | | them to the Error errors list.
* Add SeaMonkey to the list of Mozilla browsers.Georg Brandl2006-04-281-1/+1
|
* Try to really fix the slow buildbots this time.Neal Norwitz2006-04-281-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 Norwitz2006-04-281-11/+13
|
* Add more ignores of ImportWarnings; these are all just potential triggersThomas Wouters2006-04-271-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, ImportWarningThomas Wouters2006-04-273-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, ratherThomas Wouters2006-04-271-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 runThomas Wouters2006-04-271-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 Wouters2006-04-271-2/+2
|
* 2.5a2Anthony Baxter2006-04-272-1/+6
|
* Some more test-size-estimate fixes: test_append and test_insert trigger aThomas Wouters2006-04-261-3/+7
| | | | list resize, which overallocates.
* Add tests for += and *= on strings, and fix the memory-use estimate for theThomas Wouters2006-04-261-3/+37
| | | | list.extend tests (they were estimating half the actual use.)
* Whitespace normalization.Tim Peters2006-04-262-922/+922
|
* The result of SF patch #1471578: big-memory tests for strings, lists andThomas Wouters2006-04-263-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 replaceNeal Norwitz2006-04-261-2/+2
| | | | the one at the end.
* Rev 45706 renamed stuff in contextlib.py, but didn't renameTim Peters2006-04-261-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 Rossum2006-04-251-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 terminatedThomas Wouters2006-04-251-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 theNick Coghlan2006-04-253-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 toTim Peters2006-04-252-0/+28
| | | | Edward Loper.
* Put break at correct level so *all* root HKEYs acutally get checked forTrent Mick2006-04-251-1/+1
| | | | | an installed VC6. Otherwise only the first such tree gets checked and this warning doesn't get displayed.
* Whitespace normalization.Tim Peters2006-04-241-1/+1
|
* Revert addition of setuptoolsPhillip J. Eby2006-04-2439-10115/+0
|
* Stop test_tcl's testLoadTk from leaking the Tk commands 'loadtk' registers.Thomas Wouters2006-04-241-0/+1
|
* More reliable version of new command line tests that just checks the exit codesNick Coghlan2006-04-241-2/+37
|
* Back out new command line tests (broke buildbot)Nick Coghlan2006-04-241-55/+0
|
* Fix broken contextlib test from last checkin (I'd've sworn I tested that ↵Nick Coghlan2006-04-241-0/+2
| | | | before checking it in. . .)
* Fix contextlib.nested to cope with exit methods raising and handling exceptionsNick Coghlan2006-04-242-1/+27
|
* Add unit tests for the -m and -c command line switchesNick Coghlan2006-04-241-0/+55
|
* correct exampleSkip Montanaro2006-04-231-9/+11
|
* Whitespace normalization.Tim Peters2006-04-231-2/+2
|
* Updated the sqlite3 module to the external pysqlite 2.2.2 version.Gerhard Häring2006-04-235-37/+81
|
* Update optparse to Optik 1.5.1.Greg Ward2006-04-232-106/+298
|
* Remove $CJKCodecs$ RCS tags. The CJKCodecs isn't maintained outsideHye-Shik Chang2006-04-2211-11/+0
| | | | anymore.
* Whitespace normalization.Tim Peters2006-04-222-20/+20
|