Antoine Pitrou <pit...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue8524> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com