This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author alex
Recipients alex
Date 2015-11-06.20:08:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1446840481.06.0.811345685129.issue25569@psf.upfronthosting.co.za>
In-reply-to
Content
Run the following code:

import socket
import ssl
import sys


def main():
    ctx = ssl.create_default_context()
    s = socket.create_connection(('www.bing.com', 443))
    s = ctx.wrap_socket(s, server_hostname='www.bing.com')
    while True:
        s.getpeercert()

        sys.stderr.write('.')
        sys.stderr.flush()


if __name__ == '__main__':
    main()



and observe memory usage, you'll see it increases by a MB/s or so.
History
Date User Action Args
2015-11-06 20:08:01alexsetrecipients: + alex
2015-11-06 20:08:01alexsetmessageid: <1446840481.06.0.811345685129.issue25569@psf.upfronthosting.co.za>
2015-11-06 20:08:01alexlinkissue25569 messages
2015-11-06 20:08:00alexcreate