Re: ssl: add msg_callback

2012-07-26 Thread Antoine Pitrou
Hi, Thiébaud Weksteen weksteen.fr> writes: > > I wrote a patch for Python 3.2.3 to expose the function > SSL_CTX_set_msg_callback in the module _ssl. > [...] > > Let me know your opinion on that. Does it worth being included? Yes, it sounds useful. Your patch will have to be written against

Re: ssl: add msg_callback

2012-07-25 Thread Chris Rebert
On Wed, Jul 25, 2012 at 8:47 PM, Thiébaud Weksteen wrote: > > Hi python-list, > > I wrote a patch for Python 3.2.3 to expose the function > SSL_CTX_set_msg_callback in the module _ssl. > > I was actually surprise this function was not already in the > standard library as it is really handy: Well,

ssl: add msg_callback

2012-07-25 Thread Thiébaud Weksteen
Hi python-list, I wrote a patch for Python 3.2.3 to expose the function SSL_CTX_set_msg_callback in the module _ssl. I was actually surprise this function was not already in the standard library as it is really handy: "SSL_CTX_set_msg_callback() or SSL_set_msg_callback() can be used to define a