Message376099
It does not differ much from list(inf()). Sooner or later it will raise MemoryError. You can interrupt the execution by pressing Ctrl-C. Although the response may be slow if your computer started swapping.
There is nothing special about unpacking infinite number of parameters. You can achieve the same result in many other ways in any programming language. If you want you program do not use too much swap, limit the virtual memory size by the shell ulimit command (or by resource.setrlimit() in Python). |
|
Date |
User |
Action |
Args |
2020-08-30 05:28:40 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, Camion |
2020-08-30 05:28:40 | serhiy.storchaka | set | messageid: <1598765320.54.0.796655344352.issue41637@roundup.psfhosted.org> |
2020-08-30 05:28:40 | serhiy.storchaka | link | issue41637 messages |
2020-08-30 05:28:40 | serhiy.storchaka | create | |
|