summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue3243 - Support iterable bodies in httplib. Patch contributions by ↵Senthil Kumaran2010-12-192-3/+64
| | | | Xuanji Li and Chris AtLee.
* Fix Issue6791 - Limit the HTTP header readline with _MAXLENGTH. Patch by ↵Senthil Kumaran2010-12-182-0/+34
| | | | 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-181-2/+49
| | | | for beta2 on the tracker.
* 100% test coverage, better mapping protocol compatibility, some minor bugfixesŁukasz Langa2010-12-171-54/+263
|
* Issue #10711: Remove HTTP 0.9 support from http.client. The `strict`Antoine Pitrou2010-12-171-3/+20
| | | | parameter to HTTPConnection and friends is deprecated.
* Fix Issue9721 - urljoin behavior when the relative url starts with ';'Senthil Kumaran2010-12-171-0/+3
|
* configparser API cleanup: default values now sensible, slightly incompatible.Łukasz Langa2010-12-171-3/+9
| | | | | Backwards compatible alternative values possible as documented. Done by Łukasz Langa, approved by Raymond and Fred.
* #10719: restore messages generated on invalid compileall argsR. David Murray2010-12-161-8/+17
| | | | | | | | 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-161-0/+6
| | | | for security reasons. Initial patch by Ross Lagerwall.
* Broken ConfigParser removed, SafeConfigParser renamed to ConfigParser.Łukasz Langa2010-12-161-111/+94
| | | | 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.
* Issue 10534, difflib: tweak doc; test new SequenceMatcher instance ↵Terry Reedy2010-12-151-0/+17
| | | | attributes; avoid unneeded lists of SM.b2j keys and items in .__chain_b. Do not backport.
* 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-141-75/+156
|
* 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-142-0/+16
| | | | | 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-141-0/+10
| | | | | | 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-141-0/+31
| | | | | | | | 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.
* Use skipIf instead of a return when attribute doesn't exist.R. David Murray2010-12-141-2/+2
|
* Issue 10687. When --without-pymalloc is given, $VERSION is the same asBarry Warsaw2010-12-131-1/+1
| | | | | | | $LDVERSION, which screws up the sym/hard-links. This avoids those games when $VERSION == $LDVERSION. Also, include a drive-by fix for an obvious syntax error.
* Captured IO streams with embedded backslashes are always such a fun ↵Nick Coghlan2010-12-131-2/+8
| | | | combination...
* issue7213: Open the pipes used by subprocesses with the FD_CLOEXEC flag fromGregory P. Smith2010-12-135-0/+126
| | | | | the C code, using pipe2() when available. Adds unittests for close_fds and cloexec behaviors.
* Get rid of the close_fds DeprecationWarning. Changes the default on a perGregory P. Smith2010-12-131-18/+1
| | | | | | platform basis. It remains False on Windows and changes to True on all other platforms (POSIX). Based on python-dev discussion and http://bugs.python.org/issue7213.
* Actually finish the tests for r87182Nick Coghlan2010-12-131-3/+5
|
* Issue #10188 (partial resolution): tidy up some behaviour in the new ↵Nick Coghlan2010-12-122-6/+46
| | | | tempfile.TemporaryDirectory context manager
* having three copies of the same test is surely a bit excessiveBenjamin Peterson2010-12-121-296/+0
|
* remove (un)transform methodsBenjamin Peterson2010-12-122-21/+3
|
* logging: added handler of last resort.Vinay Sajip2010-12-101-0/+35
|
* #10668: fix wrong call of __init__.Georg Brandl2010-12-101-1/+1
|
* Fied typoVinay Sajip2010-12-101-1/+1
|
* test.support: Added TestHandler and Matcher classes for better support of ↵Vinay Sajip2010-12-101-2/+68
| | | | assertions about logging.
* Fixed typo in comment.Hirokazu Yamamoto2010-12-091-1/+1
|
* Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for ↵Alexander Belopolsky2010-12-085-2/+30
| | | | NULL
* Have script_helper._assert_python strip refcount strings from stderr.R. David Murray2010-12-081-1/+3
| | | | | | This makes the output of the function and those that depend on it independent of whether or not they are being run under a debug build.
* Issue #10546: UTF-16-LE and UTF-16-BE *do* support non-BMP charactersVictor Stinner2010-12-081-0/+12
| | | | Fix the doc and add tests.
* Update whatsnew. Salt the random number seed.Raymond Hettinger2010-12-081-2/+2
|
* return views from dict proxy items/values/keys #10630Benjamin Peterson2010-12-071-5/+11
|
* Temporarily disable newly failing test for the release.Georg Brandl2010-12-051-0/+3
|
* More fine-grained monitoring of alterations to logging stateNick Coghlan2010-12-051-4/+10
|
* Issue 10626 investigation: regrtest now checks for alterations to the ↵Nick Coghlan2010-12-051-1/+11
| | | | logging state in the current process (and yes, test_pydoc alters it)
* Should use posix_error here.Hirokazu Yamamoto2010-12-051-1/+1
|
* Avoid possible zombi process.Hirokazu Yamamoto2010-12-051-2/+4
|
* Now can reproduce the error on AMD64 Windows Server 2008Hirokazu Yamamoto2010-12-051-16/+21
| | | | even where os.symlink is not supported.
* configparser: mapping protocol access get() handles configparser-specific ↵Łukasz Langa2010-12-041-0/+43
| | | | arguments as well
* Use proper plural forms in argparse (#4391)Éric Araujo2010-12-041-1/+1
|