setrecursionlimit

Ian Kelly ian.g.kelly at gmail.com
Wed May 18 13:38:36 EDT 2016


On Wed, May 18, 2016 at 11:15 AM, Steven D'Aprano <steve at pearwood.info> wrote:
> I don't really understand why the system can't track the current top of the
> stack and bottom of the heap, and if they're going to collide, halt the
> process. That would still be kinda awful, in a sudden "your application
> just died" kind of way, but it would be better than "your computer is now
> owned by some hacker in Hong Kong, who is now renting it by the hour to
> some spammer in Texas".

Seems kind of expensive for little benefit to have to make that check
on every function call.



More information about the Python-list mailing list