[issue46923] Implement stack overflow protection for supported platforms

2022-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: issue33955 is an older issue about implementing the current functionality for this on macOS, which has an API for querying stack limits. -- nosy: +ronaldoussoren ___ Python tracker

[issue46923] Implement stack overflow protection for supported platforms

2022-03-04 Thread Steven D'Aprano
Steven D'Aprano added the comment: > Personally I'd prefer a new exception `StackOverflow` to `MemoryError` +1 on a new exception (presumably a subclass of MemoryError). How about using OverflowedStack instead? The situation is not quite as bad as you suggest. Googling for "stack overflow"

[issue46923] Implement stack overflow protection for supported platforms

2022-03-04 Thread Dong-hee Na
Change by Dong-hee Na : -- nosy: +corona10 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46923] Implement stack overflow protection for supported platforms

2022-03-04 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46923] Implement stack overflow protection for supported platforms

2022-03-04 Thread Mark Shannon
New submission from Mark Shannon : https://github.com/python/steering-council/issues/102 (definitely not PEP 651 ;)) We should implement efficient stack checks on those platforms that allow us to introspect stack extents. Windows and posix systems allow us to do this. C allows addresses of