Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 11177: asyncore's create_socket() arguments can now be omitted. | Giampaolo Rodolà | 2011-02-25 | 2 | -11/+11 |
| | |||||
* | Issue #6064: Add a `daemon` keyword argument to the threading.Thread | Antoine Pitrou | 2011-02-25 | 4 | -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-25 | 1 | -2/+3 |
| | | | | Also fixed an AttributeError in get/set priority tests. | ||||
* | Issue #10956: Buffered I/O classes retry reading or writing after a signal | Antoine Pitrou | 2011-02-25 | 2 | -5/+121 |
| | | | | has arrived and the handler returned successfully. | ||||
* | Issue 10784: adds os.getpriority() and os.setpriority() functions. | Giampaolo Rodolà | 2011-02-25 | 1 | -0/+19 |
| | |||||
* | Issue #11114: Fix catastrophic performance of tell() on text files (up | Antoine Pitrou | 2011-02-25 | 1 | -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 AIX | Giampaolo Rodolà | 2011-02-25 | 1 | -1/+1 |
| | |||||
* | Skip os.sendfile() test if threading module is not available. | Giampaolo Rodolà | 2011-02-25 | 1 | -0/+1 |
| | |||||
* | logging: enabled test which was intermittently failing on buildbots. | Vinay Sajip | 2011-02-25 | 1 | -1/+1 |
| | |||||
* | Improved QueueListener implementation - queue sentinel addition made extensible. | Vinay Sajip | 2011-02-25 | 1 | -1/+11 |
| | |||||
* | Normalize the encoding names for Latin-1 and UTF-8 to | Marc-André Lemburg | 2011-02-25 | 32 | -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-25 | 1 | -0/+253 |
| | |||||
* | rewrite with assertIs | Benjamin Peterson | 2011-02-25 | 1 | -2/+1 |
| | |||||
* | Removed fcmp and FUZZ from test.support, following the discussion on python-dev: | Eli Bendersky | 2011-02-25 | 3 | -25/+10 |
| | | | | http://mail.python.org/pipermail/python-dev/2011-January/107735.html | ||||
* | Issue #10516: adding list.clear() and list.copy() methods | Eli Bendersky | 2011-02-25 | 3 | -0/+46 |
| | |||||
* | Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with | Antoine Pitrou | 2011-02-24 | 1 | -0/+2 |
| | | | | a buffer struct having a NULL data pointer. | ||||
* | Issue #11286: Fixed unpickling of empty 2.x strings. | Alexander Belopolsky | 2011-02-24 | 3 | -8/+12 |
| | |||||
* | Allow usage of SomeABC.register as a class decorator. Patch by Edoardo ↵ | Éric Araujo | 2011-02-24 | 2 | -3/+29 |
| | | | | Spadolini (#10868). | ||||
* | Merged revisions 88535 via svnmerge from | Benjamin Peterson | 2011-02-24 | 1 | -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 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 |
| |