summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #10763: subprocess.communicate() closes stdout and stderr if both areVictor Stinner2010-12-253-14/+24
| | | | | | 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-243-5/+52
| | | | | | | | 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.
* Match current tracker name, though I do not know if still active.Terry Reedy2010-12-241-1/+1
|
* Adopt symmetric names for arguments (actual/expected --> first/second).Raymond Hettinger2010-12-242-15/+15
|
* Logging documentation updates.Vinay Sajip2010-12-241-8/+7
|
* 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
|
* Add news entry for 87471.Raymond Hettinger2010-12-241-0/+2
|
* 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'
* Added an XXX note to describe timedelta/timedelta feature.Alexander Belopolsky2010-12-241-0/+3
|
* 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-242-2/+2
|
* Add test for r87454.Raymond Hettinger2010-12-241-0/+3
|
* Issue #9063: Corrected the tzinfo example.Alexander Belopolsky2010-12-241-1/+1
|
* 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-233-1/+16
| | | | 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 #10587: Document the meaning of str methods.Alexander Belopolsky2010-12-231-9/+23
|
* Issue #10254: Fixed a crash and a regression introduced by the ↵Alexander Belopolsky2010-12-233-8/+23
| | | | implementation of PRI 29.
* Fix ResourceWarning in test_normalizationAntoine Pitrou2010-12-221-0/+1
|
* Another trivial typo correction in whatsnewMichael Foord2010-12-221-1/+1
|
* Logging documentation updates.Vinay Sajip2010-12-223-47/+48
|
* Minor typo corrections in whatsnewMichael Foord2010-12-221-3/+3
|
* Add todoRaymond Hettinger2010-12-221-0/+2
|
* fix a compiler warning about err_msg potentially being used uninitialized.Gregory P. Smith2010-12-221-1/+1
|
* Removed unneeded #includeAlexander Belopolsky2010-12-221-2/+0
|
* Both PEP 3131 and the current implementation use NFKC normalizationAlexander Belopolsky2010-12-221-2/+2
| | | | for identifiers. Fixed the documentation to agree.
* #4871: check that zipfile password is bytes, and give useful error message.R. David Murray2010-12-213-4/+19
| | | | | | | | | 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-214-9/+32
|
* Document the alternate format for :ref:.Raymond Hettinger2010-12-211-0/+2
|
* Reference the release scheduleRaymond Hettinger2010-12-211-0/+3
|
* Deprecate assertDictContainsSubset()Raymond Hettinger2010-12-214-4/+22
|
* Suggest sys.maxsize as a reliable way to know whether the interpreter is 64-bit.Antoine Pitrou2010-12-211-1/+11
| | | | (part of #10735)
* 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.