summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* bump version to 2.7a3v2.7a3Benjamin Peterson2010-02-062-2/+2
|
* issue #7728: test_timeout was using a hardcoded port, which wasR. David Murray2010-02-061-3/+5
| | | | | causing buildbot failures. Changed to use test_support.bind_port. Patch by Florent Xicluna.
* unittest.TestLoader creates a TestSuite before calling load_tests. Issue 7799.Michael Foord2010-02-062-1/+4
|
* test_logging: minor tweaks to timeouts, listening tests marked as skipped.Vinay Sajip2010-02-051-3/+6
|
* Correction to docstring correction.Michael Foord2010-02-051-1/+1
|
* Improving docstrings in unittest.TestCaseMichael Foord2010-02-051-5/+15
|
* Issue #5677: Explicitly forbid write operations on read-only file objects,Antoine Pitrou2010-02-052-1/+37
| | | | | | and read operations on write-only file objects. On Windows, the system C library would return a bogus result; on Solaris, it was possible to crash the interpreter. Patch by Stefan Krah.
* Issue #7857: test_logging: listener tests disabled for now.Vinay Sajip2010-02-051-2/+2
|
* Issue #7857: test_logging: listener test now uses find_unused_port().Vinay Sajip2010-02-051-18/+20
|
* normalize exceptions passed to the __exit__ method #7853Benjamin Peterson2010-02-052-1/+11
| | | | | | | | | In Python 2.x, exceptions in finally blocks are not normalized. Since with statements are implemented using finally blocks, ceval.c had to be tweaked to distinguish between with finally blocks and normal ones. A test for the finalization of generators containing with statements was also added.
* add a test for #7853; the exception must be normalized for withBenjamin Peterson2010-02-051-3/+20
|
* Added unit test for cfg:// resolution.Vinay Sajip2010-02-041-0/+33
|
* Removed spurious print statement.Vinay Sajip2010-02-041-1/+0
|
* Logging: Implemented PEP 391.Vinay Sajip2010-02-042-26/+1172
|
* Fix a typo in a docstring introduced in r77956.Brett Cannon2010-02-031-1/+1
|
* Update a docstring to suggest using importlib.import_module instead of ↵Brett Cannon2010-02-031-1/+1
| | | | calling __import__ directly.
* Fix test_inspect.py data to match recent change to inspect_fodder.py (r77942).Mark Dickinson2010-02-031-1/+1
|
* leaving global attributes for backward compatTarek Ziadé2010-02-031-0/+81
|
* #7092: Silence more py3k warnings. Patch by Florent Xicluna.Ezio Melotti2010-02-0339-85/+102
|
* fixed a typo on distutils.sysconfig. thanks arfeverTarek Ziadé2010-02-021-1/+1
|
* sysconfig.get_scheme_names now returns a sorted tupleTarek Ziadé2010-02-022-2/+10
|
* module reorganization + missing doctestsTarek Ziadé2010-02-021-37/+43
|
* #7092: Silence py3k warnings in test_exceptions and test_pep352. Patch by ↵Ezio Melotti2010-02-022-69/+78
| | | | Florent Xicluna.
* Fix idioms and a couple of py3k warnings. Patch by Florent Xicluna.Ezio Melotti2010-02-0210-51/+45
|
* Silence a couple of -3 warningsEzio Melotti2010-02-021-2/+5
|
* #7092: silence py3k warnings for bsddb. Patch by Florent Xicluna.Ezio Melotti2010-02-028-80/+39
|
* Merged revisions 77855-77856,77870 via svnmerge fromMartin v. Löwis2010-02-015-5/+3
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r77855 | benjamin.peterson | 2010-01-30 17:32:05 +0100 (Sa, 30 Jan 2010) | 1 line don't return node if it is not changed ........ r77856 | benjamin.peterson | 2010-01-30 17:35:29 +0100 (Sa, 30 Jan 2010) | 1 line return None to indicate no change ........ r77870 | benjamin.peterson | 2010-01-31 02:21:26 +0100 (So, 31 Jan 2010) | 1 line never return the original node given to transform() ........
* Issue #7819: Check sys.call_tracing() arguments types.Victor Stinner2010-01-311-0/+4
| | | | py3k was already patched by issue #3661.
* - Issue #6939: Fix file I/O objects in the `io` module to keep the originalAntoine Pitrou2010-01-315-12/+36
| | | | | | file position when calling `truncate()`. It would previously change the file position to the given argument, which goes against the tradition of ftruncate() and other truncation APIs. Patch by Pascal Chambon.
* fix windows buildbotBenjamin Peterson2010-01-311-1/+1
|
* - Fix typo in os.execvp docstring.Matthias Klose2010-01-311-1/+1
|
* #7092: silence more -3 and -Wd warningsEzio Melotti2010-01-315-33/+41
|
* Merged revisions 77419,77435 via svnmerge fromMartin v. Löwis2010-01-303-5/+69
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r77419 | benjamin.peterson | 2010-01-10 21:39:48 +0100 (So, 10 Jan 2010) | 1 line enclose path in quotes to handle paths with spaces correctly #7666 ........ r77435 | alexandre.vassalotti | 2010-01-12 01:36:54 +0100 (Di, 12 Jan 2010) | 2 lines Issue #1967: Add fixer for dictionary views. ........
* #7092: silence py3k warnings for deprecated modulesEzio Melotti2010-01-3014-30/+47
|
* Fix typo in assertSequenceEqual docstring.R. David Murray2010-01-291-1/+1
|
* Issue #7788: Fix a crash produced by deleting a list slice with hugeMark Dickinson2010-01-293-1/+7
| | | | step value. Patch by Marcin Bachry.
* Change error report when the object passed to suite.addTest is notR. David Murray2010-01-281-1/+1
| | | | callable to include the repr of the invalid object.
* avoid a py3k warning from __hash__Benjamin Peterson2010-01-281-0/+1
|
* avoid to use zlib when the compress type is not ZIP_DEFLATEDEzio Melotti2010-01-281-6/+8
|
* Issue #7610: Reworked implementation of the internalAntoine Pitrou2010-01-272-187/+236
| | | | | | | | :class:`zipfile.ZipExtFile` class used to represent files stored inside an archive. The new implementation is significantly faster and can be wrapped in a :class:`io.BufferedReader` object for more speedups. It also solves an issue where interleaved calls to `read()` and `readline()` give wrong results. Patch by Nir Aides.
* Issue #6963: Added maxtasksperchild argument to multiprocessing.PoolJesse Noller2010-01-273-18/+108
|
* raise a clear TypeError when trying to register a non-classBenjamin Peterson2010-01-272-1/+7
|
* for UserDict to be compatible with abcs, it must subclass objectBenjamin Peterson2010-01-271-1/+1
|
* Added named (but not numbered) attributes to sys.getwindowsversion() test.Eric Smith2010-01-271-0/+4
|
* Switch to test_support.get_attribute.Eric Smith2010-01-271-23/+24
|
* Removed unneeded test.Eric Smith2010-01-271-1/+0
|
* Issue #7766: Change sys.getwindowsversion() return value to a named tuple ↵Eric Smith2010-01-271-1/+17
| | | | and add the additional members returned in an OSVERSIONINFOEX structure. The new members are service_pack_major, service_pack_minor, suite_mask, and product_type.
* added local get_platform/set_platform APIs in distutils.sysconfigTarek Ziadé2010-01-2610-112/+42
|
* reintroduced the names in Distutils for APIs that were relocatedTarek Ziadé2010-01-262-0/+13
|
* fixed bdist_msi imports and added a test module for distutils.command.bdist_msiTarek Ziadé2010-01-262-3/+26
|