anatoly techtonik added the comment: I agree that new implementation doesn't prevent me from estimating the progress, but it does make the callback code worse, not better. Either by closure or by global variable, but it makes callback stateful.
To fix this issue either blocks_number parameter should be removed, or previous behavior restored. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16409> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com