Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #883466: don't allow Unicode as arguments to quopri and uu codecs. | Georg Brandl | 2007-09-03 | 2 | -4/+6 |
| | |||||
* | remove use of non-existent SSLFakeSocket in apparently untested code | Bill Janssen | 2007-08-31 | 1 | -4/+2 |
| | |||||
* | remove mentions of socket.ssl in comments | Bill Janssen | 2007-08-31 | 1 | -3/+1 |
| | |||||
* | deprecate use of FakeSocket | Bill Janssen | 2007-08-31 | 1 | -0/+4 |
| | |||||
* | One more fix to consider missing SSL support. | Thomas Wouters | 2007-08-30 | 1 | -2/+3 |
| | |||||
* | Don't lie in __all__ attributes when SSL is not available: only add the SSL | Thomas Wouters | 2007-08-30 | 4 | -4/+9 |
| | | | | classes when they are actually created. | ||||
* | Somewhat-preliminary slice-object and extended slicing support for ctypes. | Thomas Wouters | 2007-08-30 | 8 | -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öwis | 2007-08-30 | 1 | -4/+14 |
| | |||||
* | Added docstrings to methods and functions. | Bill Janssen | 2007-08-30 | 1 | -0/+36 |
| | |||||
* | * Skip test_pipes on non-POSIX. | Georg Brandl | 2007-08-30 | 2 | -3/+5 |
| | | | | * Don't raise TestSkipped within a test function. | ||||
* | Patch #1680959: add test suite for pipes module. | Georg Brandl | 2007-08-30 | 4 | -17/+185 |
| | |||||
* | This contains a number of things: | Bill Janssen | 2007-08-29 | 8 | -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 Batista | 2007-08-29 | 1 | -9/+15 |
| | | | | | exceptions raised during FailingServerTestCase tests. [GSoC - Alan McIntyre] | ||||
* | Fix test output. | Walter Dörwald | 2007-08-28 | 1 | -1/+1 |
| | |||||
* | fixes 813986 | Skip Montanaro | 2007-08-28 | 2 | -0/+16 |
| | |||||
* | Add a crasher for the thread-unsafety of file objects. | Georg Brandl | 2007-08-28 | 1 | -0/+8 |
| | |||||
* | Fix title endtag in HTMLCalender.formatyearpage(). Fix documentation for | Walter Dörwald | 2007-08-28 | 1 | -1/+1 |
| | | | | | | HTMLCalender.formatyearpage() (there's no themonth parameter). This fixes issue1046. | ||||
* | Improve extended slicing support in builtin types and classes. Specifically: | Thomas Wouters | 2007-08-28 | 8 | -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 and | Lars Gustäbel | 2007-08-28 | 2 | -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 (importing | Guido van Rossum | 2007-08-27 | 1 | -0/+1 |
| | | | | it from __builtin__). | ||||
* | > Regardless, building a fixed test certificate and checking it in sounds like | Guido van Rossum | 2007-08-27 | 2 | -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 Batista | 2007-08-27 | 1 | -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 Norwitz | 2007-08-27 | 1 | -13/+16 |
| | | | | Modified patch from what Bill Janssen sent on python-3000. | ||||
* | Make a utility function for handling (printing) an error | Neal Norwitz | 2007-08-27 | 1 | -16/+14 |
| | |||||
* | Stop using string.join (from the module) to ease upgrade to py3k | Neal Norwitz | 2007-08-27 | 1 | -10/+10 |
| | |||||
* | Another patch from Bill Janssen that: | Neal Norwitz | 2007-08-26 | 1 | -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 have | Neal Norwitz | 2007-08-26 | 1 | -1/+1 |
| | | | | permission to write to the device. | ||||
* | Get the test passing by commenting out some writes (should they be removed?) | Neal Norwitz | 2007-08-26 | 1 | -2/+2 |
| | |||||
* | Bill Janssen wrote: | Guido van Rossum | 2007-08-26 | 2 | -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 created | Neal Norwitz | 2007-08-26 | 1 | -2/+7 |
| | |||||
* | Reap children before the test starts so hopefully SocketServer | Neal Norwitz | 2007-08-26 | 1 | -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 Norwitz | 2007-08-26 | 1 | -1/+1 |
| | |||||
* | Try to get this test to pass for systems that do not have SO_REUSEPORT | Neal Norwitz | 2007-08-25 | 1 | -1/+4 |
| | |||||
* | Fix test so it is skipped properly if there is no SSL support. | Neal Norwitz | 2007-08-25 | 1 | -2/+6 |
| | |||||
* | Server-side SSL and certificate validation, by Bill Janssen. | Guido van Rossum | 2007-08-25 | 3 | -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 Coghlan | 2007-08-25 | 3 | -61/+98 |
| | | | | switch | ||||
* | Revert misguided attempt at fixing incompatibility between -m and -i ↵ | Nick Coghlan | 2007-08-25 | 2 | -38/+45 |
| | | | | switches (better fix coming soon) | ||||
* | Make test_structmembers pass when run with regrtests's -R flag. | Collin Winter | 2007-08-24 | 1 | -6/+9 |
| | |||||
* | Port test_class to unittest. Patch #1671298. | Georg Brandl | 2007-08-24 | 2 | -387/+497 |
| | |||||
* | Catch the correct errors. | Georg Brandl | 2007-08-24 | 2 | -2/+2 |
| | |||||
* | Convert test_pkg to use unittest. | Collin Winter | 2007-08-24 | 2 | -285/+251 |
| | |||||
* | Convert test_linuxaudiodev to unittest. Fix a wrong finally clause in ↵ | Georg Brandl | 2007-08-24 | 3 | -76/+78 |
| | | | | test_ossaudiodev. | ||||
* | Remove output file for test_ossaudiodev, also properly close the dsp object. | Georg Brandl | 2007-08-24 | 2 | -5/+3 |
| | |||||
* | Remove test_rgbimg output file, there is no test_rgbimg.py. | Georg Brandl | 2007-08-24 | 1 | -2/+0 |
| | |||||
* | Port test_frozen to unittest. | Georg Brandl | 2007-08-24 | 3 | -27/+52 |
| | |||||
* | Patch #1008: port test_signal to unittest. | Georg Brandl | 2007-08-24 | 2 | -163/+171 |
| | |||||
* | Patch #1006: port test_winreg to unittest. | Georg Brandl | 2007-08-24 | 2 | -133/+149 |
| | |||||
* | Fix silly typo in test name. | Guido van Rossum | 2007-08-24 | 1 | -1/+1 |
| | |||||
* | uuid creation is now threadsafe, backport from py3k rev. 57375. | Georg Brandl | 2007-08-24 | 1 | -1/+4 |
| | |||||
* | Fix bug 1725856. | Gregory P. Smith | 2007-08-24 | 2 | -0/+20 |
| |