Serhiy Storchaka added the comment: I propose to include frame size in previous frame. This will twice decrease the number of file reads. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue17810> _______________________________________