homepage

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 vstinner
Recipients vstinner
Date 2017年06月26日.21:49:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1498513763.26.0.144257056209.issue30776@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, regrtest considers that a test file leaks if at least one run increased or decreased the global reference counter. The problem is that in practice, Python is full of singletons, caches, and other jokes of the garbage collector, etc.
To reduce false alarms and focus more on real bugs, I suggest to change the reference difference checker from:
 def check_rc_deltas(deltas):
 return any(deltas)
to:
 def check_rc_deltas(deltas):
 return all(delta>=1 for delta in deltas)
It would allow to ignore false positives like:
* [3, 0, 0]
* [0, 1, 0]
* [8, -8, 1]
History
Date User Action Args
2017年06月26日 21:49:23vstinnersetrecipients: + vstinner
2017年06月26日 21:49:23vstinnersetmessageid: <1498513763.26.0.144257056209.issue30776@psf.upfronthosting.co.za>
2017年06月26日 21:49:23vstinnerlinkissue30776 messages
2017年06月26日 21:49:23vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /