Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Factor-out the common code for setting a KeyError. | Raymond Hettinger | 2013-09-02 | 4 | -33/+20 |
| | |||||
* | Refactor the main function of regrtest a bit. | Eli Bendersky | 2013-09-02 | 1 | -23/+33 |
| | | | | Moving subprocess execution of tests into a function. | ||||
* | Instead of XORed indicies, switch to a hybrid of linear probing and open ↵ | Raymond Hettinger | 2013-09-02 | 1 | -91/+68 |
| | | | | | | | | | | | | | | | addressing. Modern processors tend to make consecutive memory accesses cheaper than random probes into memory. Small sets can fit into L1 cache, so they get less benefit. But they do come out ahead because the consecutive probes don't probe the same key more than once and because the randomization step occurs less frequently (or not at all). For the open addressing step, putting the perturb shift before the index calculation gets the upper bits into play sooner. | ||||
* | Close #18745: Improve enum tests in test_json for infinities and NaN. | Ethan Furman | 2013-09-02 | 1 | -5/+44 |
| | |||||
* | Merge with 3.3 | Terry Jan Reedy | 2013-09-01 | 1 | -1/+0 |
|\ | |||||
| * | Remove obsolete .hgeol entry pointing to file moved elsewhere. | Terry Jan Reedy | 2013-09-01 | 1 | -1/+0 |
| | | | | | | | | | | | | This kine was already replaced by Lib/test/test_email/data/msg_26.txt = BIN which is just below the last line in the patch context. | ||||
* | | Merge fix from 3.3 into default. | Tim Peters | 2013-09-01 | 1 | -0/+1 |
|\ \ | |/ | | | | | | | | | | | | | | | | | | | Fix issue 18889: test_sax: multiple failures on Windows desktop. "The fix" is to tell Mercurial that the test files are binary. Windows developers: to get the correct line endings in your checkout, delete Lib\test\xmltestdata, and then "hg revert" that directory. Why the Windows buildbots didn't fail test_sax remains a mystery :-( | ||||
| * | Fix issue 18889: test_sax: multiple failures on Windows desktop. | Tim Peters | 2013-09-01 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | "The fix" is to tell Mercurial that the test files are binary. Windows developers: to get the correct line endings in your checkout, delete Lib\test\xmltestdata, and then "hg revert" that directory. Why the Windows buildbots didn't fail test_sax remains a mystery :-( | ||||
* | | test_threading isn't rudimentary anymore | Antoine Pitrou | 2013-09-01 | 1 | -1/+3 |
|\ \ | |/ | |||||
| * | test_threading isn't rudimentary anymore | Antoine Pitrou | 2013-09-01 | 1 | -1/+3 |
| | | |||||
* | | Issue #18571: Merge duplicate test code | Victor Stinner | 2013-09-01 | 3 | -31/+18 |
| | | | | | | | | Merge test/subprocessdata/inherited.py into test/subprocessdata/fd_status.py | ||||
* | | Issue #11798: fix tests for regrtest -R : | Andrew Svetlov | 2013-09-01 | 3 | -2/+19 |
| | | |||||
* | | Back out 868ad6fa8e68 - it left all the buildbots failing. | Tim Peters | 2013-09-01 | 1 | -1/+0 |
| | | | | | | | | | | | | Unclear to me why it was pushed to begin with. See issue 11798. Perhaps it's because regrtest with -R was failing? Fine, but that's better than regrtest _always_ failing ;-) | ||||
* | | Update copyright. | Raymond Hettinger | 2013-09-01 | 1 | -1/+1 |
| | | |||||
* | | merge | Raymond Hettinger | 2013-09-01 | 3 | -4/+122 |
|\ \ | |||||
| * | | Close #18738: Route __format__ calls to mixed-in type for mixed Enums (such ↵ | Ethan Furman | 2013-09-01 | 3 | -4/+122 |
| | | | | | | | | | | | | as IntEnum). | ||||
* | | | Further reduce the cost of hash collisions by inspecting an additional ↵ | Raymond Hettinger | 2013-09-01 | 1 | -4/+39 |
|/ / | | | | | | | nearby entry. | ||||
* | | Update whatsnew/3.4.rst wrt. the socket constants switch to IntEnum | Eli Bendersky | 2013-08-31 | 1 | -0/+3 |
| | | | | | | | | [issue #18730] | ||||
* | | Switch the AF_* and SOCK_* constants in the socket module to IntEnum. | Eli Bendersky | 2013-08-31 | 2 | -3/+91 |
| | | | | | | | | Closes #18720. | ||||
* | | Issue #12037: Fix test_email for desktop Windows. | Terry Jan Reedy | 2013-08-31 | 2 | -4/+6 |
|\ \ | |/ | |||||
| * | Issue #12037: Fix test_email for desktop Windows. | Terry Jan Reedy | 2013-08-31 | 2 | -2/+4 |
| | | |||||
* | | Merge from 3.3 #18489 Search Engine tests | Terry Jan Reedy | 2013-08-31 | 3 | -34/+369 |
|\ \ | |/ | |||||
| * | Issue #18489: Add complete, gui-free tests for idlelib.SearchEngine. | Terry Jan Reedy | 2013-08-31 | 3 | -34/+366 |
| | | | | | | | | | | | | Patch import and initialization in SearchEngine to make testing easier. Improve docstrings, especially to clarify the double role of 'ok' parameters. Original patch by Phil Webster. | ||||
* | | Issue #18780: code cleanup. | Ethan Furman | 2013-08-31 | 1 | -34/+19 |
| | | |||||
* | | Temporary disable tests cleanup (issue 11798). | Andrew Svetlov | 2013-08-31 | 1 | -0/+1 |
| | | |||||
* | | Close #18780: %-formatting now prints value for int subclasses with %d, %i, ↵ | Ethan Furman | 2013-08-31 | 3 | -5/+53 |
| | | | | | | | | and %u codes. | ||||
* | | Merge. | Charles-François Natali | 2013-08-31 | 6 | -30/+99 |
|\ \ | |||||
| * | | Fix XMLPullParser documentation to say "non-blocking" instead of "asynchronous". | Eli Bendersky | 2013-08-31 | 1 | -17/+17 |
| | | | | | | | | | | | | | | | | | | The latter is more ambiguous. Related to issue #17741 | ||||
| * | | Issue #18756: os.urandom() now uses a lazily-opened persistent file ↵ | Antoine Pitrou | 2013-08-30 | 4 | -13/+48 |
| | | | | | | | | | | | | descriptor, so as to avoid using many file descriptors when run in parallel from multiple threads. | ||||
| * | | Forward port new tests from Issue #18851. | Antoine Pitrou | 2013-08-30 | 1 | -0/+34 |
| |\ \ | | |/ | |||||
| | * | Forward port new tests from Issue #18851. | Antoine Pitrou | 2013-08-30 | 1 | -0/+34 |
| | | | |||||
* | | | Use INADDR_BROADCAST instead of hard-coded value (it's part of POSIX and | Charles-François Natali | 2013-08-31 | 1 | -1/+1 |
| | | | | | | | | | | | | already appears without #ifdef a couple lines above). | ||||
* | | | Use the recent support.HOSTv6 addition. | Charles-François Natali | 2013-08-31 | 2 | -8/+4 |
|/ / | |||||
* | | Issue #18418: After fork(), reinit all threads states, not only active ones. | Charles-François Natali | 2013-08-30 | 4 | -1/+26 |
|\ \ | |/ | | | | | Patch by A. Jesse Jiryu Davis. | ||||
| * | Issue #18418: After fork(), reinit all threads states, not only active ones. | Charles-François Natali | 2013-08-30 | 4 | -1/+26 |
| | | | | | | | | Patch by A. Jesse Jiryu Davis. | ||||
* | | Issue #17741: Rename IncrementalParser and its methods. | Eli Bendersky | 2013-08-30 | 4 | -135/+153 |
| | | | | | | | | | | | | The new names are hopefully more descriptive and consistent. If you feel you don't agree with this change, *please* read issue 17741 first - there's a lot of discussion in there. | ||||
* | | utilize int.from_bytes | Philip Jenvey | 2013-08-30 | 1 | -1/+1 |
| | | |||||
* | | improve comment | Benjamin Peterson | 2013-08-29 | 1 | -2/+2 |
| | | |||||
* | | make lists uniformly integers for the benefit of pypy | Benjamin Peterson | 2013-08-29 | 1 | -2/+3 |
| | | |||||
* | | Fixes Issue #15507: test_subprocess's test_send_signal could fail if the test | Gregory P. Smith | 2013-08-29 | 2 | -10/+21 |
|\ \ | |/ | | | | | | | | | runner were run in an environment where the process inherited an ignore setting for SIGINT. Restore the SIGINT handler to the desired KeyboardInterrupt raising one during that test. | ||||
| * | Fixes issue #15507: test_subprocess's test_send_signal could fail if the test | Gregory P. Smith | 2013-08-29 | 2 | -10/+21 |
| | | | | | | | | | | | | runner were run in an environment where the process inherited an ignore setting for SIGINT. Restore the SIGINT handler to the desired KeyboardInterrupt raising one during that test. | ||||
* | | Null merge of 3.3 into default. | Tim Peters | 2013-08-29 | 0 | -0/+0 |
|\ \ | |/ | |||||
| * | Merge. | Charles-François Natali | 2013-08-29 | 2 | -5/+12 |
| |\ | |||||
* | \ | Merge. | Charles-François Natali | 2013-08-29 | 2 | -5/+12 |
|\ \ \ | |||||
| * \ \ | Issue #18643: Fix some test_socket failures due to large default socket buffer | Charles-François Natali | 2013-08-29 | 2 | -5/+12 |
| |\ \ \ | | | |/ | | |/| | | | | | sizes. | ||||
| | * | | Issue #18643: Fix some test_socket failures due to large default socket buffer | Charles-François Natali | 2013-08-29 | 2 | -5/+12 |
| | | | | | | | | | | | | | | | | sizes. | ||||
* | | | | Issue #8713: Print dangling processes/threads, if any. | Richard Oudkerk | 2013-08-29 | 1 | -2/+17 |
| | | | | |||||
* | | | | Issue #8713: Cleanup before saving process._dangling. | Richard Oudkerk | 2013-08-29 | 1 | -2/+6 |
| | | | | |||||
* | | | | Issue #8713: Test should not print message about start method. | Richard Oudkerk | 2013-08-29 | 1 | -1/+0 |
| | | | | |||||
* | | | | Issue #17974: Switch unittest from using getopt to using argparse. | Serhiy Storchaka | 2013-08-29 | 5 | -177/+170 |
| | | | |