[New-bugs-announce] [issue43161] Taking sum of massive list comprehension results in total system crash.

George report at bugs.python.org
Mon Feb 8 01:23:08 EST 2021


New submission from George <gmarat19 at gmail.com>:

I tried running the following command in the interpreter, and without fail it will completely crash my entire computer.

Python 3.8.7 (default, Jan 20 2021, 00:00:00) 
[GCC 10.2.1 20201125 (Red Hat 10.2.1-9)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> sum([i for i in range(10**8 + 10**9)])

My kernel is 5.10.12-100

I am running on Fedora 32 with Cinnamon Desktop if it helps. Let me know if you need any other information. 

I eagerly await resolution of this bug, as I want to know the result of the computation. Unless, of course it is harebrained, then we should ignore because Guido already discussed such computations.

George

----------
messages: 386615
nosy: U9dB37BPZx
priority: normal
severity: normal
status: open
title: Taking sum of massive list comprehension results in total system crash.
type: crash
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43161>
_______________________________________


More information about the New-bugs-announce mailing list