On Wed, Oct 18, 2017 at 10:43:57PM +1000, Nick Coghlan wrote: > Per-process memory quotas *can* help avoid this, but enforcing them > requires that every process run in a resource controlled sandbox. Hence, > it's not a coincidence that mobile operating systems and container-based > server environments already work that way, and the improved ability to cope > with misbehaving applications is part of why desktop operating systems > would like to follow the lead of their mobile and server counterparts :)
Does this also fall under the sandbox definition? $ softlimit -m 1000000000 python3 Python 3.7.0a1+ (heads/master:bdaeb7d237, Oct 16 2017, 18:54:55) [GCC 4.8.5] on linux Type "help", "copyright", "credits" or "license" for more information. >>> [0] * 10000000000000 Traceback (most recent call last): File "<stdin>", line 1, in <module> MemoryError People who are worried could make a python3 alias or use Ctrl-\. Stefan Krah _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/