summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix #9333. The symlink function is always available now, raising OSErrorBrian Curtin2010-12-289-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 Stinner2010-12-281-1/+1
|
* Issue #10783: struct.pack() doesn't encode implicitly unicode to UTF-8Victor Stinner2010-12-282-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 Brandl2010-12-281-14/+10
|
* #10768: fix ScrolledText widget construction, and make the example work from ↵Georg Brandl2010-12-281-4/+3
| | | | the interactive shell.
* #10777: fix iteration over dict keys while mutating the dict.Georg Brandl2010-12-282-1/+10
|
* #7056: runtest and runtest_inner don't use testdir, so drop it from their sigsR. David Murray2010-12-271-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 Sajip2010-12-271-1/+9
|
* Issue #10774: test_logging now removes temp files created during tests.Vinay Sajip2010-12-271-7/+10
|
* Skip test that does not raise an error on Windows.R. David Murray2010-12-271-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 regexR. David Murray2010-12-271-3/+7
|
* #5258/#10642: print fn, line, traceback and continue when .pth file is brokenR. David Murray2010-12-262-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 areVictor Stinner2010-12-252-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 Quinlan2010-12-251-2/+2
|
* Better reporting of test failures on Windows.Brian Quinlan2010-12-241-3/+15
|
* #1693546: don't add quotes around RFC 2231 encoded values.R. David Murray2010-12-242-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 Hettinger2010-12-241-10/+10
|
* Keep helper functions private.Raymond Hettinger2010-12-241-2/+2
|
* Put diff output in useful order (when the elements were first seen).Raymond Hettinger2010-12-242-11/+13
|
* Add direct tests for the util functions.Raymond Hettinger2010-12-241-1/+13
|
* Improve diff for assertCountEqual() to actually show the differing counts.Raymond Hettinger2010-12-243-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 precendenceSenthil Kumaran2010-12-243-4/+2
| | | | problem with Content-Length header and uncommenting the test.
* Fix docstring.Raymond Hettinger2010-12-241-3/+3
|
* Fix docs and comment for r87454.Raymond Hettinger2010-12-241-1/+1
|
* Add test for r87454.Raymond Hettinger2010-12-241-0/+3
|
* update commentBenjamin Peterson2010-12-231-1/+1
|
* Fix syntax typoÉric Araujo2010-12-231-1/+1
|
* Issue 10730: mimetypes module - add .svgz to mimetypes.suffix_map and .svg ↵Terry Reedy2010-12-231-1/+3
| | | | | | to types_map. Addition OKed by GB on IRC (R. David Murray). No backport.
* kill some function importsBenjamin Peterson2010-12-231-16/+14
|
* use native tenary conditionBenjamin Peterson2010-12-231-16/+2
|
* fix docstringBenjamin Peterson2010-12-231-1/+1
|
* Fix buglet. If the input was an iterator, the fallback would occur afterRaymond Hettinger2010-12-231-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_tzR. David Murray2010-12-232-1/+13
| | | | Original patch by Thomas Herve.
* #4496: remove misleading comment and note that self.handlers is obsolete.R. David Murray2010-12-231-3/+2
| | | | self.handlers is still used in one urllib2 test, but not by the code iteslf.
* Fix typo in superclass method nameÉric Araujo2010-12-231-1/+1
|
* Nits: use a real boolean, make one docstring more similar to the other onesÉric Araujo2010-12-231-2/+5
|
* Fix small inaccuracy: there is no index functionÉric Araujo2010-12-231-1/+1
|
* Issue #10254: Fixed a crash and a regression introduced by the ↵Alexander Belopolsky2010-12-232-4/+14
| | | | implementation of PRI 29.
* Fix ResourceWarning in test_normalizationAntoine Pitrou2010-12-221-0/+1
|
* #4871: check that zipfile password is bytes, and give useful error message.R. David Murray2010-12-212-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 Pitrou2010-12-212-6/+27
|
* Deprecate assertDictContainsSubset()Raymond Hettinger2010-12-212-1/+4
|
* Make test_compileall more robust by using -S to keep sys.path minimized.R. David Murray2010-12-211-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 Murray2010-12-212-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 Murray2010-12-201-1/+1
|
* Make test_compileall more robust by using -S to keep sys.path minimized.R. David Murray2010-12-201-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.2b2Georg Brandl2010-12-191-1/+0
|
* Issue3243 - Support iterable bodies in httplib. Patch contributions by ↵Senthil Kumaran2010-12-194-7/+91
| | | | Xuanji Li and Chris AtLee.
* Bump to 3.2b2.Georg Brandl2010-12-192-2/+2
|
* Update pydoc topics.Georg Brandl2010-12-191-3/+3
|