summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Temporarily skip test failing with newer ttk.Georg Brandl2010-12-191-1/+3
|
* #6075: make idle work with both Carbon AquaTk and Cocoa AquaTk. Patch by ↵Georg Brandl2010-12-193-39/+42
| | | | Kevin Walzer and Ned Deily.
* Improvement to fix for issue 9926 to allow TestResult to be reused.Michael Foord2010-12-192-1/+7
|
* Fix minor issue in implementation of issue 10470.Michael Foord2010-12-193-30/+54
|
* Issue 10611. Issue 9857. Improve the way exception handling, including test ↵Michael Foord2010-12-194-73/+177
| | | | skipping, is done inside TestCase.run
* #10573: use actual/expected consistently in unittest methods. The order of ↵Ezio Melotti2010-12-181-13/+13
| | | | the args of assertCountEqual is also changed.
* #9286: Fix the rfc822 parser to preserve whitespace in address local part.R. David Murray2010-12-182-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 Melotti2010-12-182-8/+8
|
* #10404: Use ctl-button-1 for context menus on OSX Idle.R. David Murray2010-12-181-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 Kumaran2010-12-184-8/+67
| | | | Antoine Pitrou
* #5587: add a repr to dict_proxy objects. Patch by David Stanek and Daniel ↵Ezio Melotti2010-12-181-0/+5
| | | | Urban.
* Add subparser aliases for argparse. Resolves issue 9324. Approved by Georg ↵Steven Bethard2010-12-182-5/+63
| | | | for beta2 on the tracker.
* 100% test coverage, better mapping protocol compatibility, some minor bugfixesŁukasz Langa2010-12-172-71/+286
|
* Issue #4188: Avoid creating dummy thread objects when logging operationsAntoine Pitrou2010-12-171-2/+8
| | | | from the threading module (with the internal verbose flag activated).
* Issue #10711: Remove HTTP 0.9 support from http.client. The `strict`Antoine Pitrou2010-12-172-113/+43
| | | | parameter to HTTPConnection and friends is deprecated.
* #10454: clarify the compileall docs and help messages.R. David Murray2010-12-171-15/+22
|
* Fix Issue9721 - urljoin behavior when the relative url starts with ';'Senthil Kumaran2010-12-172-7/+5
|
* configparser API cleanup: default values now sensible, slightly incompatible.Łukasz Langa2010-12-172-26/+28
| | | | | Backwards compatible alternative values possible as documented. Done by Łukasz Langa, approved by Raymond and Fred.
* assert that the regex given to assertRegex is non-empty.Gregory P. Smith2010-12-161-0/+1
|
* #10719: restore messages generated on invalid compileall argsR. David Murray2010-12-162-13/+22
| | | | | | | | Before the introduction of filename arguments to compileall it gave semi useful messages about not being able to 'list' names that weren't valid directories. This fix restores that behavior. In addition to the test for this case, the patch also adds a test for the default behavior of compileall when no arguments are provided, and fixes a bug in one of the previously added tests.
* Issue #10714: Limit length of incoming request in http.server to 65536 bytesAntoine Pitrou2010-12-162-1/+13
| | | | for security reasons. Initial patch by Ross Lagerwall.
* EasyDialogs was removed in 3.x. fallback_getpass will always be the answer here.Brian Curtin2010-12-161-6/+1
|
* Broken ConfigParser removed, SafeConfigParser renamed to ConfigParser.Łukasz Langa2010-12-162-142/+116
| | | | Life is beatiful once again.
* Make test_threadsignals more lax, and add notesAntoine Pitrou2010-12-151-2/+7
|
* Issue #8844: Regular and recursive lock acquisitions can now be interruptedAntoine Pitrou2010-12-151-5/+115
| | | | by signals on platforms using pthreads. Patch by Reid Kleckner.
* Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558).Éric Araujo2010-12-151-1/+1
|
* Fix wrong name in docstring and doc (#10693). Original patch by Eli Bendersky.Éric Araujo2010-12-152-3/+3
|
* Issue 10534, difflib: tweak doc; test new SequenceMatcher instance ↵Terry Reedy2010-12-152-4/+23
| | | | attributes; avoid unneeded lists of SM.b2j keys and items in .__chain_b. Do not backport.
* Issue 10667: Fast path for collections.CounterRaymond Hettinger2010-12-151-3/+12
|
* TIMEOUT value change in URLTimeout Test. test.support.transient_internet has aSenthil Kumaran2010-12-151-1/+1
| | | | | | socket timeout of 30 when it checks for resource. Explicit overrding (like setting the 10) wont exhibit consistent behavior when tests are outside context manager. So, settting it 30.
* #4236: avoid possible Fatal Error when import is called from __del__R. David Murray2010-12-141-0/+13
| | | | Patch by Simon Cross, crasher test code by Martin von Löwis.
* More comprehensive compileall cli tests, and fixes.R. David Murray2010-12-142-89/+176
|
* SIGCHLD is a more portable name than SIGCLD. (OSX has no SIGCLD)Gregory P. Smith2010-12-141-1/+1
|
* #775964: skip YP/NIS entries instead of failing the testR. David Murray2010-12-141-2/+6
| | | | | | | Also includes doc updates mentioning that these entries may not be retrievable via getgrnam and getgrgid. Patch by Bobby Impollonia.
* Fix "BytesWarning: str() on a bytes instance"Gregory P. Smith2010-12-141-1/+2
|
* Issue #1731717: Fixed the problem where subprocess.wait() could cause anGregory P. Smith2010-12-143-2/+30
| | | | | OSError exception when The OS had been told to ignore SIGCLD in our process or otherwise not wait for exiting child processes.
* #10695: use %s not %d so that a string 'port' does not cause a debug tracebackR. David Murray2010-12-142-1/+11
| | | | | | Passing the port as a string value works fine in regular mode, but if you turned debug on it would throw an error trying to print the port number, which is surprising and confusing.
* Issue #6559: fix the subprocess.Popen pass_fds implementation. Add a unittest.Gregory P. Smith2010-12-142-19/+59
| | | | | | | | Issue #7213: Change the close_fds default on Windows to better match the new default on POSIX. True when possible (False if stdin/stdout/stderr are supplied). Update the documentation to reflect all of the above.
* 9162: fix license in multiprocessing filesR. David Murray2010-12-1414-13/+352
|
* Use skipIf instead of a return when attribute doesn't exist.R. David Murray2010-12-141-2/+2
|
* #1078919: make add_header automatically do RFC2231 encoding when needed.R. David Murray2010-12-132-3/+44
| | | | | Also document the use of three-tuples if control of the charset and language is desired.