Matěj Stuchlík added the comment:

That's a good idea:

NULLBYTECERT = os.path.join(os.path.dirname(__file__) or os.curdir, 
"nullbytecert.pem")
for i in xrange(100):
    p = ssl._ssl._test_decode_cert(NULLBYTECERT)

gives

==1647== LEAK SUMMARY:
==1647==    definitely lost: 3,200 bytes in 100 blocks
==1647==    indirectly lost: 39,200 bytes in 1,600 blocks
==1647==      possibly lost: 591,285 bytes in 545 blocks
==1647==    still reachable: 1,955,652 bytes in 3,136 blocks
==1647==         suppressed: 0 bytes in 0 blocks

so yes, they do increase.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18913>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to