summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix #883466: don't allow Unicode as arguments to quopri and uu codecs.Georg Brandl2007-09-032-4/+6
|
* remove use of non-existent SSLFakeSocket in apparently untested codeBill Janssen2007-08-311-4/+2
|
* remove mentions of socket.ssl in commentsBill Janssen2007-08-311-3/+1
|
* deprecate use of FakeSocketBill Janssen2007-08-311-0/+4
|
* One more fix to consider missing SSL support.Thomas Wouters2007-08-301-2/+3
|
* Don't lie in __all__ attributes when SSL is not available: only add the SSLThomas Wouters2007-08-304-4/+9
| | | | classes when they are actually created.
* Somewhat-preliminary slice-object and extended slicing support for ctypes.Thomas Wouters2007-08-308-3/+128
| | | | | | The exact behaviour of omitted and negative indices for the Pointer type may need a closer look (especially as it's subtly different from simple slices) but there's time yet before 2.6, and not enough before 3.0a1 :-)
* Bug #1709599: Run test_1565150 only if the file system is NTFS.Martin v. Löwis2007-08-301-4/+14
|
* Added docstrings to methods and functions.Bill Janssen2007-08-301-0/+36
|
* * Skip test_pipes on non-POSIX.Georg Brandl2007-08-302-3/+5
| | | | * Don't raise TestSkipped within a test function.
* Patch #1680959: add test suite for pipes module.Georg Brandl2007-08-304-17/+185
|
* This contains a number of things:Bill Janssen2007-08-298-544/+353
| | | | | | | | | | | | | | | | 1) Improve the documentation of the SSL module, with a fuller explanation of certificate usage, another reference, proper formatting of this and that. 2) Fix Windows bug in ssl.py, and general bug in sslsocket.close(). Remove some unused code from ssl.py. Allow accept() to be called on sslsocket sockets. 3) Use try-except-else in import of ssl in socket.py. Deprecate use of socket.ssl(). 4) Remove use of socket.ssl() in every library module, except for test_socket_ssl.py and test_ssl.py.
* Ignore test failures caused by 'resource temporarily unavailable'Facundo Batista2007-08-291-9/+15
| | | | | exceptions raised during FailingServerTestCase tests. [GSoC - Alan McIntyre]
* Fix test output.Walter Dörwald2007-08-281-1/+1
|
* 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
|