summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Bump for 3.2rc3.v3.2rc3Georg Brandl2011-02-132-2/+2
|
* Update pydoc topics.Georg Brandl2011-02-131-2/+2
|
* Fix #11116 fix on Windows (close file before removing in MH code)R. David Murray2011-02-121-1/+8
|
* #11116: roll back on error during add so mailbox isn't left corrupted.R. David Murray2011-02-112-7/+49
|
* reverting r88395 and r88387 as per ↵Giampaolo Rodolà2011-02-111-11/+12
| | | | http://mail.python.org/pipermail/python-dev/2011-February/108005.html
* asyncore: introduce a new 'closed' attribute to make sure that dispatcher ↵Giampaolo Rodolà2011-02-111-9/+11
| | | | | | gets closed only once. In different occasions close() might be called more than once, causing problems with already disconnected sockets/dispatchers.
* Fixed issue11082 - Reject str for POST data with a TypeError. Document the ↵Senthil Kumaran2011-02-112-4/+11
| | | | need to explicitly encode to bytes when using urlencode.
* get rid of asyncore.dispatcher's debug attribute, which is no longer used ↵Giampaolo Rodolà2011-02-101-3/+0
| | | | (assuming it ever was).
* Issue 10971: Make test_zipimport_support once again compatible with refleak ↵Nick Coghlan2011-02-071-48/+54
| | | | hunting (reviewed by Georg Brandl)
* #11132: pass optimize parameter to recursive call in ↵Georg Brandl2011-02-072-1/+11
| | | | compileall.compile_dir(). Reviewed by Eric A.
* Remove lots of spaces within exception message.Georg Brandl2011-02-031-2/+2
|
* Get command-line doctest of Lib/decimal.py to work again.Raymond Hettinger2011-02-011-2/+2
| | | | | | | If tested as '__main__' instead 'decimal', the tracebacks would abbreviate 'decimal.Inexact' as 'Inexact', breaking the doctests. (Reviewed by Antoine.)
* Issue #8275: Fix passing of callback arguments with ctypes under Win64.Antoine Pitrou2011-01-311-0/+36
| | | | Patch by Stan Mihai. Ok'ed by Georg.
* Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl.Alexander Belopolsky2011-01-311-1/+1
|
* Bump version.v3.2rc2Georg Brandl2011-01-302-2/+2
|
* Update pydoc topics.Georg Brandl2011-01-301-1/+1
|
* #10680: fix mutually exclusive arguments in argument groups.Georg Brandl2011-01-302-0/+41
|
* #10961: fix exception handling in new pydoc server code.Georg Brandl2011-01-302-99/+105
| | | | Patch by Ron Adam, reviewed by Eric Araujo.
* #11069: fix the IDLE Stack Viewer, by not using "list" as a variable name.Georg Brandl2011-01-301-4/+4
| | | | Original patch by Brian Curtin, reviewed by me.