You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unexpected SystemError in Python3.12.0a7: <method 'startswith' of 'str' objects> returned a result with an exception set #103632
SystemError: <built-in method startswith of str object at 0x7fe399991298> returned a result with an exception set
At a first glance this error does not make much sense because str.startswith is a built-in method in a built-in data structure. I am struggling to see how it can have an exception set attached to the result.
I managed to create the following simplified reproducer:
Activity
sunmy2019 commentedon Apr 20, 2023
It should be fixed by #103332
sobolevn commentedon Apr 21, 2023
I agree that this should be fixed in
main. Please, reopen if it is not fixed.abravalheri commentedon Apr 21, 2023
Thank you very much.
I run the test above with an adapted Dockerfile that gets the latest `main` and it seems to work
Ref: https://github.com/docker-library/python/blob/cb6ecdbcbc7e30a180481a9911f5f1f470b9dba1/3.12-rc/bullseye/Dockerfile