Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

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).

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to