New submission from Thiébaud Weksteen:
Hi,
I've just came across an insignificant bug in the Python command line
interface. When using an unknown parameter, the same error appears
more than once:
$ python3 -a -z
Unknown option: -a
Unknown option: -z
Unknown option: -a
usage: python3 [o
Thiébaud Weksteen added the comment:
When I wrote this patch, I was focusing on a particular usage and the buffer
was the only parameter that interested me. But you're right, the other
parameters should be included. Which brings the following questions:
* write_p looks like a boolean,
Thiébaud Weksteen added the comment:
I've updated the patch with this method of testing.
--
Added file: http://bugs.python.org/file26589/ssl_msg_callback-0.2.patch
___
Python tracker
<http://bugs.python.org/is
Thiébaud Weksteen added the comment:
I'm not sure what would be the best way to verify that.
What about:
def test_connect_with_msg_callback(self):
with support.transient_internet("svn.python.org"):
self.called = False
New submission from Thiébaud Weksteen :
I wrote a patch for Python 3 to expose the function
SSL_CTX_set_msg_callback in the module ssl.
Here is a description of this function:
"SSL_CTX_set_msg_callback() or SSL_set_msg_callback() can be used
to define a message callback function c