- 30 Aug, 2007 15 commits
-
-
Thomas Wouters authored
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 :-)
-
Lars Gustäbel authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Bill Janssen authored
-
Bill Janssen authored
-
Walter Dörwald authored
-
Walter Dörwald authored
-
Mark Summerfield authored
-
Georg Brandl authored
* Don't raise TestSkipped within a test function.
-
Georg Brandl authored
-
Georg Brandl authored
-
- 29 Aug, 2007 5 commits
-
-
Bill Janssen authored
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.
-
Facundo Batista authored
exceptions raised during FailingServerTestCase tests. [GSoC - Alan McIntyre]
-
Neal Norwitz authored
-
Skip Montanaro authored
-
Skip Montanaro authored
-
- 28 Aug, 2007 9 commits
-
-
Walter Dörwald authored
-
Skip Montanaro authored
-
Georg Brandl authored
-
Walter Dörwald authored
HTMLCalender.formatyearpage() (there's no themonth parameter). This fixes issue1046.
-
Thomas Wouters authored
- 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.
-
Lars Gustäbel authored
the fileobj argument has no usable name attribute (e.g. StringIO). (will backport to 2.5)
-
Georg Brandl authored
-
Sean Reifscheider authored
-
Georg Brandl authored
-
- 27 Aug, 2007 9 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
it from __builtin__).
-
Guido van Rossum authored
-
Guido van Rossum authored
> 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.]
-
Guido van Rossum authored
> 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
-
Facundo Batista authored
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]
-
Neal Norwitz authored
Modified patch from what Bill Janssen sent on python-3000.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
- 26 Aug, 2007 2 commits
-
-
Neal Norwitz authored
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.
-
Neal Norwitz authored
permission to write to the device.
-