This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients Mark.Shannon, eric.smith, ronaldoussoren, serhiy.storchaka, veky, xxm
Date 2020-11-29.15:12:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Note that changing the os.fstat line to just "raise OSError()" no longer causes the "Fatal Python error", but rather gives the expected recursion exception.

Here's a shorter version that causes the fatal error in Windows native 3.9, cygwin 3.8.3, and Fedora Linux 3.7.7. So this isn't new with 3.9.

import os

def status():
        st = os.fstat(4)
    except status() as e:

Date User Action Args
2020-11-29 15:12:52eric.smithsetrecipients: + eric.smith, ronaldoussoren, Mark.Shannon, serhiy.storchaka, veky, xxm
2020-11-29 15:12:52eric.smithsetmessageid: <>
2020-11-29 15:12:52eric.smithlinkissue42500 messages
2020-11-29 15:12:52eric.smithcreate