summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue 11177: asyncore's create_socket() arguments can now be omitted.Giampaolo Rodolà2011-02-252-11/+11
|
* Issue #6064: Add a `daemon` keyword argument to the threading.ThreadAntoine Pitrou2011-02-254-16/+33
| | | | | | and multiprocessing.Process constructors in order to override the default behaviour of inheriting the daemonic property from the current thread/process.
* (issue 11323) - attempt to fix solaris buildbot failure for os.sendfile(). ↵Giampaolo Rodolà2011-02-251-2/+3
| | | | Also fixed an AttributeError in get/set priority tests.
* Issue #10956: Buffered I/O classes retry reading or writing after a signalAntoine Pitrou2011-02-252-5/+121
| | | | has arrived and the handler returned successfully.
* Issue 10784: adds os.getpriority() and os.setpriority() functions.Giampaolo Rodolà2011-02-251-0/+19
|
* Issue #11114: Fix catastrophic performance of tell() on text files (upAntoine Pitrou2011-02-251-8/+50
| | | | | to 1000x faster in some cases). It is still one to two order of magnitudes slower than binary tell().
* (issue 11214) - fix asyncore.strerror test failure on AIXGiampaolo Rodolà2011-02-251-1/+1
|
* Skip os.sendfile() test if threading module is not available.Giampaolo Rodolà2011-02-251-0/+1
|
* logging: enabled test which was intermittently failing on buildbots.Vinay Sajip2011-02-251-1/+1
|
* Improved QueueListener implementation - queue sentinel addition made extensible.Vinay Sajip2011-02-251-1/+11
|
* Normalize the encoding names for Latin-1 and UTF-8 toMarc-André Lemburg2011-02-2532-79/+84
| | | | | | | | | | 'latin-1' and 'utf-8'. These are optimized in the Python Unicode implementation to result in more direct processing, bypassing the codec registry. Also see issue11303.
* Issue 10882: add os.sendfile(). (patch provided by Ross Lagerwall)Giampaolo Rodolà2011-02-251-0/+253
|
* rewrite with assertIsBenjamin Peterson2011-02-251-2/+1
|
* Removed fcmp and FUZZ from test.support, following the discussion on python-dev:Eli Bendersky2011-02-253-25/+10
| | | | http://mail.python.org/pipermail/python-dev/2011-January/107735.html
* Issue #10516: adding list.clear() and list.copy() methodsEli Bendersky2011-02-253-0/+46
|
* Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer withAntoine Pitrou2011-02-241-0/+2
| | | | a buffer struct having a NULL data pointer.
* Issue #11286: Fixed unpickling of empty 2.x strings.Alexander Belopolsky2011-02-243-8/+12
|
* Allow usage of SomeABC.register as a class decorator. Patch by Edoardo ↵Éric Araujo2011-02-242-3/+29
| | | | Spadolini (#10868).
* Merged revisions 88535 via svnmerge fromBenjamin Peterson2011-02-241-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r88535 | brett.cannon | 2011-02-23 13:46:46 -0600 (Wed, 23 Feb 2011) | 1 line Add lib2to3.__main__ for easy testing from the console. ........
* Revert r88503 as Benjamin's request.Brett Cannon2011-02-231-4/+0
|
* Issue #3080: Fix test_reprlib on WindowsVictor Stinner2011-02-231-1/+1
| | | | Fix the test for last module changes (r88520).
* Issue #11272: Fix input() and sys.stdin for Windows newlineVictor Stinner2011-02-231-0/+26
| | | | | On Windows, input() strips '\r' (and not only '\n'), and sys.stdin uses universal newline (replace '\r\n' by '\n').
* Issue #11224: Improved sparse file read support (r85916) introduced aLars Gustäbel2011-02-232-3/+18
| | | | | | | | | | | | | | | | regression in _FileInFile which is used in file-like objects returned by TarFile.extractfile(). The inefficient design of the _FileInFile.read() method causes various dramatic side-effects and errors: - The data segment of a file member is read completely into memory every(!) time a small block is accessed. This is not only slow but may cause unexpected MemoryErrors with very large files. - Reading members from compressed tar archives is even slower because of the excessive backwards seeking which is done when the same data segment is read over and over again. - As a backwards seek on a TarFile opened in stream mode is not possible, using extractfile() fails with a StreamError.
* Add tests for the _ChainMap helper class.Raymond Hettinger2011-02-232-0/+119
|
* Fix imports from collections.abcRaymond Hettinger2011-02-237-20/+22
|
* A crypt algorithm may not be available by returning None.Brett Cannon2011-02-221-2/+7
|
* Make Lib/crypt.py meet PEP 8 standards. This also led to a tweak in the new APIBrett Cannon2011-02-222-51/+46
| | | | by making methods() into a module attribute as it is statically calculated.
* Issue #11277: finally fix Snow Leopard crash following r88460.Antoine Pitrou2011-02-221-1/+1
| | | | (probably an OS-related issue with mmap)
* Fix test.test_crypt.test_methods() to pass on OS X.Brett Cannon2011-02-221-1/+4
|
* In FTP.close() method, make sure to also close the socket object, not only ↵Giampaolo Rodolà2011-02-221-3/+3
| | | | the file.
* Add lib2to3.__main__ to make it easier for debugging purposes to run 2to3.Brett Cannon2011-02-221-0/+4
|
* smtlib.py PEP8 normalization via pep8.py script.Giampaolo Rodolà2011-02-221-63/+73
|
* Issue #10924: Adding salt and Modular Crypt Format to crypt library.Sean Reifscheider2011-02-222-0/+78
|
* Issue #11074: Make 'tokenize' so it can be reloaded.Brett Cannon2011-02-221-3/+2
| | | | | | | | The module stored away the 'open' object as found in the global namespace (which fell through to the built-in namespace) since it defined its own 'open'. Problem is that if you reloaded the module it then grabbed the 'open' defined in the previous load, leading to code that infinite recursed. Switched to simply call builtins.open directly.
* Issue #10512: close the log file in cgi when running tests.Brett Cannon2011-02-221-0/+1
| | | | Thanks to Nadeem Vawda for the find and an initial fix.
* Issue #10992: make tests pass when run under coverage.Brett Cannon2011-02-2212-4/+56
| | | | | | | | | | Various tests fail when run under coverage. A primary culprit is refcount tests which fail as the counts are thrown off by the coverage code. A new decorator -- test.support.refcount_test -- is used to decorate tests which test refcounts and to skip them when running under coverage. Other tests simply fail because of changes in the system (e.g., __local__ suddenly appearing). Thanks to Kristian Vlaardingerbroek for helping to diagnose the test failures.
* Factor-out common code for helper classes.Raymond Hettinger2011-02-222-20/+4
|
* Have the test filename match the module filename.Raymond Hettinger2011-02-221-0/+0
|
* Issue #11085: Moved collections abstract base classes into a separate moduleRaymond Hettinger2011-02-224-13/+13
| | | | | | called collections.abc, following the pattern used by importlib.abc. For backwards compatibility, the names continue to also be imported into the collections module.
* Issue #4681: Allow mmap() to work on file sizes and offsets larger thanAntoine Pitrou2011-02-211-2/+49
| | | | | 4GB, even on 32-bit builds. Initial patch by Ross Lagerwall, adapted for 32-bit Windows.
* Issue #10826: Prevent sporadic failure in test_subprocess on Solaris dueAntoine Pitrou2011-02-212-19/+12
| | | | to open door files.
* Fix PyUnicode_FromFormatV("%c") for non-BMP charVictor Stinner2011-02-211-1/+4
| | | | | Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on narrow build.
* compileall uses repr() to format filenames/pathsVictor Stinner2011-02-212-6/+6
| | | | | Issue #11169: compileall module uses repr() to format filenames and paths to escape surrogate characters and show spaces.
* Issue #11089: Fix performance issue limiting the use of ConfigParser()Raymond Hettinger2011-02-212-8/+100
| | | | with large config files.
* Issue #10990: Prevent tests from clobbering a set trace function.Brett Cannon2011-02-2114-237/+295
| | | | | | | | | | | Many tests simply didn't care if they unset a pre-existing trace function. This made test coverage impossible. This patch fixes various tests to put back any pre-existing trace function. It also introduces test.support.no_tracing as a decorator which will temporarily unset the trace function for tests which simply fail otherwise. Thanks to Kristian Vlaardingerbroek for helping to find the cause of various trace function unsets.
* Issue #10276: Fix the results of zlib.crc32() and zlib.adler32() on buffersAntoine Pitrou2011-02-211-0/+29
| | | | larger than 4GB. Patch by Nadeem Vawda.
* Remove unittest methods scheduled for removal in 3.3 -- makes the unittest ↵Georg Brandl2011-02-205-152/+9
| | | | test suite pass again.
* Bump trunk to 3.3 alpha 0.Georg Brandl2011-02-202-2/+2
|
* Version bump to 3.2 final.Georg Brandl2011-02-202-2/+2
|
* Topic and suspicious update.Georg Brandl2011-02-201-1/+1
|