Re: [Python-ideas] Memory limits [was Re: Membership of infinite iterators]

2017-10-19 Thread Giampaolo Rodola'
On Thu, Oct 19, 2017 at 10:05 AM, Stephan Houben wrote: > Hi Steve, > > 2017-10-19 1:59 GMT+02:00 Steven D'Aprano : > >> On Wed, Oct 18, 2017 at 02:51:37PM +0200, Stefan Krah wrote: >> >> > $ softlimit -m 10 python3 >> [...] >> > MemoryError >> > >> > >> > People who are worried could mak

Re: [Python-ideas] Memory limits [was Re: Membership of infinite iterators]

2017-10-19 Thread Stefan Krah
On Thu, Oct 19, 2017 at 10:05:58AM +0200, Stephan Houben wrote: > > 2017-10-19 1:59 GMT+02:00 Steven D'Aprano : > > > On Wed, Oct 18, 2017 at 02:51:37PM +0200, Stefan Krah wrote: > > > > > $ softlimit -m 10 python3 > > [...] > > > MemoryError > > > > > > > > > People who are worried could

Re: [Python-ideas] Memory limits [was Re: Membership of infinite iterators]

2017-10-19 Thread Stephan Houben
Hi Steve, 2017-10-19 1:59 GMT+02:00 Steven D'Aprano : > On Wed, Oct 18, 2017 at 02:51:37PM +0200, Stefan Krah wrote: > > > $ softlimit -m 10 python3 > [...] > > MemoryError > > > > > > People who are worried could make a python3 alias or use Ctrl-\. > > I just tried that on two different

Re: [Python-ideas] Membership of infinite iterators

2017-10-19 Thread Koos Zevenhoven
On Thu, Oct 19, 2017 at 3:42 AM, Nick Coghlan wrote: > On 19 October 2017 at 08:34, Greg Ewing > wrote: > >> Nick Coghlan wrote: >> >>> since breaking up the current single level loops as nested loops would >>> be a pre-requisite for allowing these APIs to check for signals while >>> they're run