This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 65
SystemError thrown with Python 3.10 #88
Comments
I can confirm the attached patch fixes the issue. |
Very thorough report, thanks! |
Python 3.10 is officially releasing today. Shall I submit a Pull Request with my patch? |
@dreness I went ahead and submitted a Pull Request. Now that Python 3.10 is officially released, this is becoming problematic for pip installations from PyPI. Please have a look. Thanks! |
just hit this on OSX with /usr/local/Cellar/ansible/5.2.0/libexec/bin/python3.10 |
1 task
same on 3.11. by now on a M1 MacBook so a fully reinstalled homebrew tree. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When using the module with Python 3.10 in conjunction with requests-kerberos, a
SystemError
is thrown in thechannelBindings
function. This is the stack trace:This is due to a behavioral change made in Python 3.10 which requires extension modules to use the
Py_ssize_t
type rather than theint
type for string lengths:The following patch resolves the issue:
The text was updated successfully, but these errors were encountered: