Facundo Batista <facundobati...@gmail.com> writes:

> On Wed, Oct 27, 2010 at 12:05 PM, Benjamin Peterson <benja...@python.org> 
> wrote:
>
> > Isn't this usually when you do something like [None]*2**300? In that
> > case, wouldn't you know how much memory you're requesting?
>
> It could happen on any malloc. It depends on how much you have free.

It also depends on how much is being requested. The caller knows that
amount, surely?

-- 
 \           “If you do not trust the source do not use this program.” |
  `\                                —Microsoft Vista security dialogue |
_o__)                                                                  |
Ben Finney

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to