Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #10763: subprocess.communicate() closes stdout and stderr if both are | Victor Stinner | 2010-12-25 | 2 | -14/+21 |
| | | | | | | pipes (bug specific to Windows). Improve also the unit test: write a portable unit test. | ||||
* | Assign closed handles to None to make errors more obvious if they are used. | Brian Quinlan | 2010-12-25 | 1 | -2/+2 |
| | |||||
* | Better reporting of test failures on Windows. | Brian Quinlan | 2010-12-24 | 1 | -3/+15 |
| | |||||
* | #1693546: don't add quotes around RFC 2231 encoded values. | R. David Murray | 2010-12-24 | 2 | -5/+49 |
| | | | | | | | | The RFC is bit hard to understand on this point, but the examples clearly show that parameter values that are encoded according to its charset/language rules don't have surrounding quotes, and the ABNF does not allow for quotes. So when we produce such encoded values, we no longer add quotes. | ||||
* | Adopt symmetric names for arguments (actual/expected --> first/second). | Raymond Hettinger | 2010-12-24 | 1 | -10/+10 |
| | |||||
* | Keep helper functions private. | Raymond Hettinger | 2010-12-24 | 1 | -2/+2 |
| | |||||
* | Put diff output in useful order (when the elements were first seen). | Raymond Hettinger | 2010-12-24 | 2 | -11/+13 |
| | |||||
* | Add direct tests for the util functions. | Raymond Hettinger | 2010-12-24 | 1 | -1/+13 |
| | |||||
* | Improve diff for assertCountEqual() to actually show the differing counts. | Raymond Hettinger | 2010-12-24 | 3 | -22/+72 |
| | | | | | | | | | | | | | | | | | | New output looks like this: Traceback (most recent call last): File "test.py", line 5, in test_ce self.assertCountEqual('abracadabra xx', 'simsalabim xx') AssertionError: Element counts were not equal: Expected 5, got 2: 'a' Expected 2, got 1: 'b' Expected 0, got 2: 'i' Expected 0, got 2: 'm' Expected 0, got 1: 'l' Expected 0, got 2: 's' Expected 1, got 0: 'c' Expected 1, got 0: 'd' Expected 2, got 0: 'r' | ||||
* | Fix some mistakes- Issue3243 (r87399) Correcting the operator precendence | Senthil Kumaran | 2010-12-24 | 3 | -4/+2 |
| | | | | problem with Content-Length header and uncommenting the test. | ||||
* | Fix docstring. | Raymond Hettinger | 2010-12-24 | 1 | -3/+3 |
| | |||||
* | Fix docs and comment for r87454. | Raymond Hettinger | 2010-12-24 | 1 | -1/+1 |
| | |||||
* | Add test for r87454. | Raymond Hettinger | 2010-12-24 | 1 | -0/+3 |
| | |||||
* | update comment | Benjamin Peterson | 2010-12-23 | 1 | -1/+1 |
| | |||||
* | Fix syntax typo | Éric Araujo | 2010-12-23 | 1 | -1/+1 |
| | |||||
* | Issue 10730: mimetypes module - add .svgz to mimetypes.suffix_map and .svg ↵ | Terry Reedy | 2010-12-23 | 1 | -1/+3 |
| | | | | | | to types_map. Addition OKed by GB on IRC (R. David Murray). No backport. | ||||
* | kill some function imports | Benjamin Peterson | 2010-12-23 | 1 | -16/+14 |
| | |||||
* | use native tenary condition | Benjamin Peterson | 2010-12-23 | 1 | -16/+2 |
| | |||||
* | fix docstring | Benjamin Peterson | 2010-12-23 | 1 | -1/+1 |
| | |||||
* | Fix buglet. If the input was an iterator, the fallback would occur after | Raymond Hettinger | 2010-12-23 | 1 | -8/+7 |
| | | | | | part of the iterator had been consumed. Also, fix argument names which did not match the docs and were a bit misleading. | ||||
* | #1155362: allow hh:mm:ss-uuuu like we allow hh:mm:ss+uuuu in parsedate_tz | R. David Murray | 2010-12-23 | 2 | -1/+13 |
| | | | | Original patch by Thomas Herve. | ||||
* | #4496: remove misleading comment and note that self.handlers is obsolete. | R. David Murray | 2010-12-23 | 1 | -3/+2 |
| | | | | self.handlers is still used in one urllib2 test, but not by the code iteslf. | ||||
* | Fix typo in superclass method name | Éric Araujo | 2010-12-23 | 1 | -1/+1 |
| | |||||
* | Nits: use a real boolean, make one docstring more similar to the other ones | Éric Araujo | 2010-12-23 | 1 | -2/+5 |
| | |||||
* | Fix small inaccuracy: there is no index function | Éric Araujo | 2010-12-23 | 1 | -1/+1 |
| | |||||
* | Issue #10254: Fixed a crash and a regression introduced by the ↵ | Alexander Belopolsky | 2010-12-23 | 2 | -4/+14 |
| | | | | implementation of PRI 29. | ||||
* | Fix ResourceWarning in test_normalization | Antoine Pitrou | 2010-12-22 | 1 | -0/+1 |
| | |||||
* | #4871: check that zipfile password is bytes, and give useful error message. | R. David Murray | 2010-12-21 | 2 | -4/+16 |
| | | | | | | | | | Previously passing a string in as the password would fail either with an assertion error or a TypeError with a confusing error message. Note that a string can't be accepted since zipfile has no way to guess what encoding should be used to turn it into bytes. Patch by Victor Stinner. | ||||
* | Issue #10750: The `raw` attribute of buffered IO objects is now read-only. | Antoine Pitrou | 2010-12-21 | 2 | -6/+27 |
| | |||||
* | Deprecate assertDictContainsSubset() | Raymond Hettinger | 2010-12-21 | 2 | -1/+4 |
| | |||||
* | Make test_compileall more robust by using -S to keep sys.path minimized. | R. David Murray | 2010-12-21 | 1 | -2/+2 |
| | | | | | | | | | Try this again, hopefully the right way this time. Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo install because it was tyring to write .pyc files to a read-only system directory during test_no_args_compiles_path. Having the tests call python with -S should eliminate the system directories from the path. | ||||
* | Fix the change made for issue 1243654. | R. David Murray | 2010-12-21 | 2 | -1/+13 |
| | | | | Surprisingly, it turns out there was no test that exercised this code path. | ||||
* | Revert incorrect patch made at the wrong time. | R. David Murray | 2010-12-20 | 1 | -1/+1 |
| | |||||
* | Make test_compileall more robust by using -S to keep sys.path minimized. | R. David Murray | 2010-12-20 | 1 | -1/+1 |
| | | | | | | | Arfrever Taifersar Arahesis reported that test_compileall failed during Gentoo install because it was tyring to write .pyc files to a read-only system directory during test_no_args_compiles_path. Having subprocess call python with -S should eliminate the system directories from the path. | ||||
* | #3243 follow-up: remove debugging print and fix docs; data is a bytes object.v3.2b2 | Georg Brandl | 2010-12-19 | 1 | -1/+0 |
| | |||||
* | Issue3243 - Support iterable bodies in httplib. Patch contributions by ↵ | Senthil Kumaran | 2010-12-19 | 4 | -7/+91 |
| | | | | Xuanji Li and Chris AtLee. | ||||
* | Bump to 3.2b2. | Georg Brandl | 2010-12-19 | 2 | -2/+2 |
| | |||||
* | Update pydoc topics. | Georg Brandl | 2010-12-19 | 1 | -3/+3 |
| | |||||
* | Temporarily skip test failing with newer ttk. | Georg Brandl | 2010-12-19 | 1 | -1/+3 |
| | |||||
* | #6075: make idle work with both Carbon AquaTk and Cocoa AquaTk. Patch by ↵ | Georg Brandl | 2010-12-19 | 3 | -39/+42 |
| | | | | Kevin Walzer and Ned Deily. | ||||
* | Improvement to fix for issue 9926 to allow TestResult to be reused. | Michael Foord | 2010-12-19 | 2 | -1/+7 |
| | |||||
* | Fix minor issue in implementation of issue 10470. | Michael Foord | 2010-12-19 | 3 | -30/+54 |
| | |||||
* | Issue 10611. Issue 9857. Improve the way exception handling, including test ↵ | Michael Foord | 2010-12-19 | 4 | -73/+177 |
| | | | | skipping, is done inside TestCase.run | ||||
* | #10573: use actual/expected consistently in unittest methods. The order of ↵ | Ezio Melotti | 2010-12-18 | 1 | -13/+13 |
| | | | | the args of assertCountEqual is also changed. | ||||
* | #9286: Fix the rfc822 parser to preserve whitespace in address local part. | R. David Murray | 2010-12-18 | 2 | -2/+32 |
| | | | | | | | | | | | | Such addresses are not RFC compliant except under the 'obsolete syntax' rules, but before this fix the whitespace was dropped from the input, concatenating the pieces. That breaks one of the principles of the email package, that of preserving the input as much as possible. It also denies the application program the opportunity to apply its own heuristics to interpretation of such non-compliant addresses. It is possible users of the email package were depending on the local part always being a single token, so this fix will not be backported. | ||||
* | Use lowercase true/false in assertTrue/assertFalse messages. | Ezio Melotti | 2010-12-18 | 2 | -8/+8 |
| | |||||
* | #10404: Use ctl-button-1 for context menus on OSX Idle. | R. David Murray | 2010-12-18 | 1 | -1/+8 |
| | | | | | | | | This provides access to the context menus where they previously could not be accessed due to the way OSX Tk binds buttons. It also improves platform consistency. Patch by Ned Deily. | ||||
* | Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by ↵ | Senthil Kumaran | 2010-12-18 | 4 | -8/+67 |
| | | | | Antoine Pitrou | ||||
* | #5587: add a repr to dict_proxy objects. Patch by David Stanek and Daniel ↵ | Ezio Melotti | 2010-12-18 | 1 | -0/+5 |
| | | | | Urban. | ||||
* | Add subparser aliases for argparse. Resolves issue 9324. Approved by Georg ↵ | Steven Bethard | 2010-12-18 | 2 | -5/+63 |
| | | | | for beta2 on the tracker. |