[issue43674] strange effect at recursion limit

2021-03-31 Thread TW
TW added the comment: Eryk, thanks much for your detailled and clear explaining! Can confirm that using os.write makes it raise the RecursionError where I expected it to be. Also print() raising the RecursionError explains the behaviour I have seen. Sadly, this also shows that handling

[issue43674] strange effect at recursion limit

2021-03-30 Thread TW
New submission from TW : user@development:~$ python3 Python 3.7.3 (default, Jan 22 2021, 20:04:44) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. def recurse(n): print(n) try: recurse(n+1)