Ezio Melotti added the comment:

Attached updated patch with docs and tests.
I changed the function to do the equivalent of "if 
sys._xoptions.get('showrefcount', False):" as proposed in msg183608.
Adding -X showrefcount to non-debug builds could be covered in a separate issue.
Cleaning up the test suite to avoid checking for the refcounts in stderr can 
also be done in a separate commit if necessary.

----------
stage: needs patch -> patch review
Added file: http://bugs.python.org/file29503/issue17323-2.diff

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

Reply via email to