[issue8524] SSL sockets do not retain the parent socket's attributes

Antoine Pitrou report at bugs.python.org
Sun Jun 20 22:51:54 CEST 2010

Antoine Pitrou <pitrou at free.fr> added the comment:

> It might be nice to see the version that avoids the dup() and has the 
> duplicate code instead (interesting trade-off ;).  Just for the sake of 
> comparison against the forget() proposal.

Here it is. There's probably a bit of polishing left to do, in the (unlikely) case this is chosen as a solution.

Added file: http://bugs.python.org/file17726/sslrefactor.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list