summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Ignore test failures caused by 'resource temporarily unavailable'Facundo Batista2007-08-291-9/+15
| | | | | exceptions raised during FailingServerTestCase tests. [GSoC - Alan McIntyre]
* Add Bill as a developerNeal Norwitz2007-08-291-0/+3
|
* Recent items.Skip Montanaro2007-08-291-1/+6
|
* Install pygettext (once the scriptsinstall target is working again).Skip Montanaro2007-08-291-0/+1
|
* 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-282-2/+2
| | | | | | HTMLCalender.formatyearpage() (there's no themonth parameter). This fixes issue1046.
* Improve extended slicing support in builtin types and classes. Specifically:Thomas Wouters2007-08-2816-118/+728
| | | | | | | | | | | | | | | | | | | | - 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-283-2/+19
| | | | | | the fileobj argument has no usable name attribute (e.g. StringIO). (will backport to 2.5)
* Fix some glitches.Georg Brandl2007-08-281-19/+20
|
* Adding basic imputil documentation.Sean Reifscheider2007-08-282-0/+234
|
* Document rev. 57574.Georg Brandl2007-08-281-1/+9
|
* News about functools.reduce.Guido van Rossum2007-08-271-0/+3
|
* Patch # 1739906 by Christian Heimes -- add reduce to functools (importingGuido van Rossum2007-08-271-0/+1
| | | | it from __builtin__).
* Patch 10124 by Bill Janssen, docs for the new ssl code.Guido van Rossum2007-08-274-92/+322
|
* > Some of the code sets the error string in this directly beforeGuido van Rossum2007-08-271-88/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | > returning NULL, and other pieces of the code call PySSL_SetError, > which creates the error string. I think some of the places which set > the string directly probably shouldn't; instead, they should call > PySSL_SetError to cons up the error name directly from the err code. > However, PySSL_SetError only works after the construction of an ssl > object, which means it can't be used there... I'll take a longer look > at it and see if there's a reasonable fix. Here's a patch which addresses this. It also fixes the indentation in PySSL_SetError, bringing it into line with PEP 7, fixes a compile warning about one of the OpenSSL macros, and makes the namespace a bit more consistent. I've tested it on FC 7 and OS X 10.4. % ./python ./Lib/test/regrtest.py -R :1: -u all test_ssl test_ssl beginning 6 repetitions 123456 ...... 1 test OK. [29244 refs] % [GvR: slightly edited to enforce 79-char line length, even if it required violating the style guide.]
* > 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.
* Spell check (also americanify behaviour, it's almost 3 times as common)Neal Norwitz2007-08-261-26/+26
|
* Fix typo in docstring (missing c in reacquire)Neal Norwitz2007-08-261-1/+1
|
* keep setup.py from listing unneeded hash modules (_md5, _sha*) asGregory P. Smith2007-08-261-4/+11
| | | | | | | missing when they were not built because _hashlib with openssl provided their functionality instead. don't build bsddb185 if bsddb was built.
* Try to get this test to pass for systems that do not have SO_REUSEPORTNeal Norwitz2007-08-251-1/+4
|
* Fix a few more variables to try to get this to compile with Visual Studio.Neal Norwitz2007-08-251-2/+3
|
* Fix test so it is skipped properly if there is no SSL support.Neal Norwitz2007-08-251-2/+6
|
* Try to get this to build with Visual Studio by moving all the variableNeal Norwitz2007-08-251-17/+24
| | | | declarations to the beginning of a scope.
* Server-side SSL and certificate validation, by Bill Janssen.Guido van Rossum2007-08-257-98/+1038
| | | | | 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-254-66/+102
| | | | switch
* Revert compile.c changes that shouldn't have been included in previous checkinNick Coghlan2007-08-251-7/+2
|
* Revert misguided attempt at fixing incompatibility between -m and -i ↵Nick Coghlan2007-08-254-45/+55
| | | | 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
|
* Document new utility functions in test_support.Georg Brandl2007-08-241-2/+31
|
* Port test_frozen to unittest.Georg Brandl2007-08-243-27/+52
|
* Patch #1008: port test_signal to unittest.Georg Brandl2007-08-242-163/+171
|
* Fix #1012: wrong URL to :mod:`site` in install/index.rst.Georg Brandl2007-08-241-5/+2
|