Serhiy Storchaka added the comment: May be just drop 5% of largest values to avoid the impact of outliers? See also issue23552. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22881> _______________________________________