Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #9333. The symlink function is always available now, raising OSError | Brian Curtin | 2010-12-28 | 9 | -27/+38 |
| | | | | when the user doesn't hold the symbolic link privilege rather than hiding it. | ||||
* | Issue #10783: Fix test_sys, pack('c', ' ') => pack('c', b' ') | Victor Stinner | 2010-12-28 | 1 | -1/+1 |
| | |||||
* | Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8 | Victor Stinner | 2010-12-28 | 2 | -59/+48 |
| | | | | | | | * Replace "bytes" by "bytes object" in struct error messages * Document the API change in What's new in Python 3.2 * Fix test_wave * Remove also ugly implicit conversions in test_struct | ||||
* | #10767: update README in crashers; not all may have a bug entry and/or be fixed. | Georg Brandl | 2010-12-28 | 1 | -14/+10 |
| | |||||
* | #10768: fix ScrolledText widget construction, and make the example work from ↵ | Georg Brandl | 2010-12-28 | 1 | -4/+3 |
| | | | | the interactive shell. | ||||
* | #10777: fix iteration over dict keys while mutating the dict. | Georg Brandl | 2010-12-28 | 2 | -1/+10 |
| | |||||
* | #7056: runtest and runtest_inner don't use testdir, so drop it from their sigs | R. David Murray | 2010-12-27 | 1 | -14/+8 |
| | | | | | I've only tested regular runs and -j runs. If I've broken anything else I'm sure I'll hear about it sooner or later. | ||||
* | Issue #10626: test_logging now preserves logger disabled states. | Vinay Sajip | 2010-12-27 | 1 | -1/+9 |
| | |||||
* | Issue #10774: test_logging now removes temp files created during tests. | Vinay Sajip | 2010-12-27 | 1 | -7/+10 |
| | |||||
* | Skip test that does not raise an error on Windows. | R. David Murray | 2010-12-27 | 1 | -0/+2 |
| | | | | | I'm assuming that the putative path from the malformed pth file is simply not found and therefore ignored. | ||||
* | Escape file path before searching for it in output via regex | R. David Murray | 2010-12-27 | 1 | -3/+7 |
| | |||||
* | #5258/#10642: print fn, line, traceback and continue when .pth file is broken | R. David Murray | 2010-12-26 | 2 | -9/+67 |
| | | | | | | | | | | If a .pth file contained an error, it could cause a traceback in site.py, terminating its processing. In 2.7 and 3.2, the interpreter will then not start. Previously, a message would print saying to use -v to get the traceback. In either case, the traceback generated for a failed .pth file did not include the .pth filename, making it difficult to debug the problem. Now site.py reports not only the .pth filename but also the line number causing the error, and just skips the remainder of the file. | ||||
* | 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 |
| |