Steve Dower added the comment:

The caller to getfilesize is only using it to check whether it's small enough 
to load the file into memory all at once, so "too big" is an okay response 
(that function is in marshal.c and not used anywhere else).

The error label just returns back to the interpreter loop, previously without 
an exception set, so we got a SystemError. I mentioned this in my first post.

Happy to rename the now shared functions - I just took those straight from your 
patch :)

----------

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

Reply via email to