summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* fixes 813986Skip Montanaro2007-08-282-0/+16
|
* Add a crasher for the thread-unsafety of file objects.Georg Brandl2007-08-281-0/+8
|
* Fix title endtag in HTMLCalender.formatyearpage(). Fix documentation forWalter Dörwald2007-08-281-1/+1
| | | | | | HTMLCalender.formatyearpage() (there's no themonth parameter). This fixes issue1046.
* Improve extended slicing support in builtin types and classes. Specifically:Thomas Wouters2007-08-288-10/+180
| | | | | | | | | | | | | | | | | | | | - Specialcase extended slices that amount to a shallow copy the same way as is done for simple slices, in the tuple, string and unicode case. - Specialcase step-1 extended slices to optimize the common case for all involved types. - For lists, allow extended slice assignment of differing lengths as long as the step is 1. (Previously, 'l[:2:1] = []' failed even though 'l[:2] = []' and 'l[:2:None] = []' do not.) - Implement extended slicing for buffer, array, structseq, mmap and UserString.UserString. - Implement slice-object support (but not non-step-1 slice assignment) for UserString.MutableString. - Add tests for all new functionality.
* TarFile.__init__() no longer fails if no name argument is passed andLars Gustäbel2007-08-282-2/+16
| | | | | | the fileobj argument has no usable name attribute (e.g. StringIO). (will backport to 2.5)
* Patch # 1739906 by Christian Heimes -- add reduce to functools (importingGuido van Rossum2007-08-271-0/+1
| | | | it from __builtin__).
* > Regardless, building a fixed test certificate and checking it in sounds likeGuido van Rossum2007-08-272-8/+42
| | | | | | | | | > the better option. Then the openssl command in the test code can be turned > into a comment describing how the test data was pregenerated. Here's a patch that does that. Bill
* Ignore test failures caused by 'resource temporarily unavailable'Facundo Batista2007-08-271-12/+43
| | | | | | | exceptions raised in the test server thread, since SimpleXMLRPCServer does not gracefully handle them. Changed number of requests handled by tests server thread to one (was 2) because no tests require more than one request. [GSoC - Alan McIntyre]
* If we can't create a certificate, print a warning, but don't fail the test.Neal Norwitz2007-08-271-13/+16
| | | | Modified patch from what Bill Janssen sent on python-3000.
* Make a utility function for handling (printing) an errorNeal Norwitz2007-08-271-16/+14
|
* Stop using string.join (from the module) to ease upgrade to py3kNeal Norwitz2007-08-271-10/+10
|
* Another patch from Bill Janssen that:Neal Norwitz2007-08-261-6/+16
| | | | | | 1) Fixes the bug that two class names are initial-lower-case. 2) Replaces the poll waiting for the server to become ready with a threading.Event signal.
* Catch IOError for when the device file doesn't exist or the user doesn't haveNeal Norwitz2007-08-261-1/+1
| | | | permission to write to the device.
* Get the test passing by commenting out some writes (should they be removed?)Neal Norwitz2007-08-261-2/+2
|
* Bill Janssen wrote:Guido van Rossum2007-08-262-43/+87
| | | | | Here's a patch which makes test_ssl a better player in the buildbots environment. I deep-ended on "try-except-else" clauses.
* Fail gracefully if the cert files cannot be createdNeal Norwitz2007-08-261-2/+7
|
* Reap children before the test starts so hopefully SocketServerNeal Norwitz2007-08-261-0/+1
| | | | | won't find any old children left around which causes an exception in collect_children() and the test to fail.
* Fix typo in docstring (missing c in reacquire)Neal Norwitz2007-08-261-1/+1
|
* Try to get this test to pass for systems that do not have SO_REUSEPORTNeal Norwitz2007-08-251-1/+4
|
* Fix test so it is skipped properly if there is no SSL support.Neal Norwitz2007-08-251-2/+6
|
* Server-side SSL and certificate validation, by Bill Janssen.Guido van Rossum2007-08-253-4/+559
| | | | | While cleaning up Bill's C style, I may have cleaned up some code he didn't touch as well (in _ssl.c).
* Fix bug 1764407 - the -i switch now does the right thing when using the -m ↵Nick Coghlan2007-08-253-61/+98
| | | | switch
* Revert misguided attempt at fixing incompatibility between -m and -i ↵Nick Coghlan2007-08-252-38/+45
| | | | switches (better fix coming soon)
* Make test_structmembers pass when run with regrtests's -R flag.Collin Winter2007-08-241-6/+9
|
* Port test_class to unittest. Patch #1671298.Georg Brandl2007-08-242-387/+497
|
* Catch the correct errors.Georg Brandl2007-08-242-2/+2
|
* Convert test_pkg to use unittest.Collin Winter2007-08-242-285/+251
|
* Convert test_linuxaudiodev to unittest. Fix a wrong finally clause in ↵Georg Brandl2007-08-243-76/+78
| | | | test_ossaudiodev.
* Remove output file for test_ossaudiodev, also properly close the dsp object.Georg Brandl2007-08-242-5/+3
|
* Remove test_rgbimg output file, there is no test_rgbimg.py.Georg Brandl2007-08-241-2/+0
|
* Port test_frozen to unittest.Georg Brandl2007-08-243-27/+52
|
* Patch #1008: port test_signal to unittest.Georg Brandl2007-08-242-163/+171
|
* Patch #1006: port test_winreg to unittest.Georg Brandl2007-08-242-133/+149
|
* Fix silly typo in test name.Guido van Rossum2007-08-241-1/+1
|
* uuid creation is now threadsafe, backport from py3k rev. 57375.Georg Brandl2007-08-241-1/+4
|
* Fix bug 1725856.Gregory P. Smith2007-08-242-0/+20
|
* Patch #1779550: remove redundant code in logging.Georg Brandl2007-08-231-15/+3
|
* Bug #1688564: document os.path.join's absolute path behavior in the docstring.Georg Brandl2007-08-232-2/+6
|
* Use try-except-finally in contextlib.Georg Brandl2007-08-231-9/+8
|
* Make test_runpy re-entrant.Brett Cannon2007-08-231-1/+2
|
* stop leaving log.0000001 __db.00* and xxx.db turds in developerGregory P. Smith2007-08-221-1/+9
| | | | sandboxes when bsddb3 tests are run.
* Fix compile.c so that it records 0.0 and -0.0 as separate constants in a codeAlex Martelli2007-08-221-0/+15
| | | | | object's co_consts tuple; add a test to show that the previous behavior (where these two constants were "collapsed" into one) causes serious malfunctioning.
* Added test for behavior of operations on an unconnected SMTP object,Facundo Batista2007-08-211-11/+192
| | | | | | | | and tests for NOOP, RSET, and VRFY. Corrected typo in a comment for testNonnumericPort. Added a check for constructing SMTP objects when non-numeric ports are included in the host name. Derived a server from SMTPServer to test various ESMTP/SMTP capabilities. Check that a second HELO to DebuggingServer returns an error. [GSoC - Alan McIntyre]
* Revert accidental checkins from last commit.Georg Brandl2007-08-211-16/+1
|
* Demand version 2.5.1 since 2.5 has a bug with codecs.open context managers.Georg Brandl2007-08-211-1/+16
|
* [ 1761786 ] distutils.util.get_platform() return value on 64bit WindowsMark Hammond2007-08-211-2/+3
| | | | | | As discussed on distutils-sig: Allows the generated installer name on 64bit Windows platforms to be different than the name generated for 32bit Windows platforms.
* [ 1761786 ] distutils.util.get_platform() return value on 64bit WindowsMark Hammond2007-08-211-1/+20
| | | | | | As discussed on distutils-sig: Allows the generated installer name on 64bit Windows platforms to be different than the name generated for 32bit Windows platforms.
* Catch ProtocolError exceptions and include the header information inFacundo Batista2007-08-211-25/+52
| | | | | test output (to make it easier to debug test failures caused by problems in the server). [GSoC - Alan McIntyre]
* Add a hack (originally devised in a slightly different form by Thomas Wouters)Guido van Rossum2007-08-201-0/+20
| | | | | to prevent spurious tracebacks when a daemon thread's cleanup happens to wake up when the world around it has already been destroyed.
* Add cheot-ga-keut composed make-up sequence support in EUC-KR codec.Hye-Shik Chang2007-08-203-4/+39
|