Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert r88503 as Benjamin's request. | Brett Cannon | 2011-02-23 | 1 | -4/+0 |
| | |||||
* | Issue #3080: Fix test_reprlib on Windows | Victor Stinner | 2011-02-23 | 1 | -1/+1 |
| | | | | Fix the test for last module changes (r88520). | ||||
* | Issue #11272: Fix input() and sys.stdin for Windows newline | Victor Stinner | 2011-02-23 | 1 | -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 a | Lars Gustäbel | 2011-02-23 | 2 | -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 Hettinger | 2011-02-23 | 2 | -0/+119 |
| | |||||
* | Fix imports from collections.abc | Raymond Hettinger | 2011-02-23 | 7 | -20/+22 |
| | |||||
* | A crypt algorithm may not be available by returning None. | Brett Cannon | 2011-02-22 | 1 | -2/+7 |
| | |||||
* | Make Lib/crypt.py meet PEP 8 standards. This also led to a tweak in the new API | Brett Cannon | 2011-02-22 | 2 | -51/+46 |
| | | | | by making methods() into a module attribute as it is statically calculated. | ||||
* | Issue #11277: finally fix Snow Leopard crash following r88460. | Antoine Pitrou | 2011-02-22 | 1 | -1/+1 |
| | | | | (probably an OS-related issue with mmap) | ||||
* | Fix test.test_crypt.test_methods() to pass on OS X. | Brett Cannon | 2011-02-22 | 1 | -1/+4 |
| | |||||
* | In FTP.close() method, make sure to also close the socket object, not only ↵ | Giampaolo Rodolà | 2011-02-22 | 1 | -3/+3 |
| | | | | the file. | ||||
* | Add lib2to3.__main__ to make it easier for debugging purposes to run 2to3. | Brett Cannon | 2011-02-22 | 1 | -0/+4 |
| | |||||
* | smtlib.py PEP8 normalization via pep8.py script. | Giampaolo Rodolà | 2011-02-22 | 1 | -63/+73 |
| | |||||
* | Issue #10924: Adding salt and Modular Crypt Format to crypt library. | Sean Reifscheider | 2011-02-22 | 2 | -0/+78 |
| | |||||
* | Issue #11074: Make 'tokenize' so it can be reloaded. | Brett Cannon | 2011-02-22 | 1 | -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 Cannon | 2011-02-22 | 1 | -0/+1 |
| | | | | Thanks to Nadeem Vawda for the find and an initial fix. | ||||
* | Issue #10992: make tests pass when run under coverage. | Brett Cannon | 2011-02-22 | 12 | -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 Hettinger | 2011-02-22 | 2 | -20/+4 |
| | |||||
* | Have the test filename match the module filename. | Raymond Hettinger | 2011-02-22 | 1 | -0/+0 |
| | |||||
* | Issue #11085: Moved collections abstract base classes into a separate module | Raymond Hettinger | 2011-02-22 | 4 | -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 than | Antoine Pitrou | 2011-02-21 | 1 | -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 due | Antoine Pitrou | 2011-02-21 | 2 | -19/+12 |
| | | | | to open door files. | ||||
* | Fix PyUnicode_FromFormatV("%c") for non-BMP char | Victor Stinner | 2011-02-21 | 1 | -1/+4 |
| | | | | | Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on narrow build. | ||||
* | compileall uses repr() to format filenames/paths | Victor Stinner | 2011-02-21 | 2 | -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 Hettinger | 2011-02-21 | 2 | -8/+100 |
| | | | | with large config files. | ||||
* | Issue #10990: Prevent tests from clobbering a set trace function. | Brett Cannon | 2011-02-21 | 14 | -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 buffers | Antoine Pitrou | 2011-02-21 | 1 | -0/+29 |
| | | | | larger than 4GB. Patch by Nadeem Vawda. | ||||
* | Remove unittest methods scheduled for removal in 3.3 -- makes the unittest ↵ | Georg Brandl | 2011-02-20 | 5 | -152/+9 |
| | | | | test suite pass again. | ||||
* | Bump trunk to 3.3 alpha 0. | Georg Brandl | 2011-02-20 | 2 | -2/+2 |
| | |||||
* | Version bump to 3.2 final. | Georg Brandl | 2011-02-20 | 2 | -2/+2 |
| | |||||
* | Topic and suspicious update. | Georg Brandl | 2011-02-20 | 1 | -1/+1 |
| | |||||
* | Bump for 3.2rc3.v3.2rc3 | Georg Brandl | 2011-02-13 | 2 | -2/+2 |
| | |||||
* | Update pydoc topics. | Georg Brandl | 2011-02-13 | 1 | -2/+2 |
| | |||||
* | Fix #11116 fix on Windows (close file before removing in MH code) | R. David Murray | 2011-02-12 | 1 | -1/+8 |
| | |||||
* | #11116: roll back on error during add so mailbox isn't left corrupted. | R. David Murray | 2011-02-11 | 2 | -7/+49 |
| | |||||
* | reverting r88395 and r88387 as per ↵ | Giampaolo Rodolà | 2011-02-11 | 1 | -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-11 | 1 | -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 Kumaran | 2011-02-11 | 2 | -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-10 | 1 | -3/+0 |
| | | | | (assuming it ever was). | ||||
* | Issue 10971: Make test_zipimport_support once again compatible with refleak ↵ | Nick Coghlan | 2011-02-07 | 1 | -48/+54 |
| | | | | hunting (reviewed by Georg Brandl) | ||||
* | #11132: pass optimize parameter to recursive call in ↵ | Georg Brandl | 2011-02-07 | 2 | -1/+11 |
| | | | | compileall.compile_dir(). Reviewed by Eric A. | ||||
* | Remove lots of spaces within exception message. | Georg Brandl | 2011-02-03 | 1 | -2/+2 |
| | |||||
* | Get command-line doctest of Lib/decimal.py to work again. | Raymond Hettinger | 2011-02-01 | 1 | -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 Pitrou | 2011-01-31 | 1 | -0/+36 |
| | | | | Patch by Stan Mihai. Ok'ed by Georg. | ||||
* | Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl. | Alexander Belopolsky | 2011-01-31 | 1 | -1/+1 |
| | |||||
* | Bump version.v3.2rc2 | Georg Brandl | 2011-01-30 | 2 | -2/+2 |
| | |||||
* | Update pydoc topics. | Georg Brandl | 2011-01-30 | 1 | -1/+1 |
| | |||||
* | #10680: fix mutually exclusive arguments in argument groups. | Georg Brandl | 2011-01-30 | 2 | -0/+41 |
| | |||||
* | #10961: fix exception handling in new pydoc server code. | Georg Brandl | 2011-01-30 | 2 | -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 Brandl | 2011-01-30 | 1 | -4/+4 |
| | | | | Original patch by Brian Curtin, reviewed by me. |