Terry J. Reedy added the comment: Crash reports should include the minimum code needed to produce the crash. Adding function calls that never happen because the arguments cannot be computed adds noise that obscures the problem. Here, b"a"*0xFFFFFFFFFFFFFFF would require more memory that any current computer has. Float and array are irrelevant. On Windows, it freezes python. A MemoryError would be nicer, but this may be "won't fix".
---------- nosy: +terry.reedy title: Integer Overflow Crash On float(array.array()) -> Crash or freeze trying to execute b'a' * 0xFFFFFFFFFFFFFFF _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27547> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com