Geoffrey Thomas added the comment:
Opened #44751 and https://github.com/python/cpython/pull/27394 .
--
___
Python tracker
<https://bugs.python.org/issue32
Change by Geoffrey Thomas :
--
keywords: +patch
pull_requests: +25927
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/27394
___
Python tracker
<https://bugs.python.org/issu
New submission from Geoffrey Thomas :
In #32635, it was discovered that _cryptmodule.c was missing a dependency on
crypt.h, which caused it to segfault when it was missing the proper prototype
for crypt. This was fixed by adding an #include to Python.h.
This include doesn't need to
Geoffrey Thomas added the comment:
Sorry to bump an old thread, but - does need to be in the public
Python.h header? Or would it be enough to be in _cryptmodule.c, which is the
code that uses crypt_r()?
I can provide a quick patch to change that if that seems sound.
--
nosy
Geoffrey Thomas added the comment:
Christian mentioned on Twitter that this is probably due to a missing argument
clinic change from "int" to "Py_ssize_t". I can confirm that fixing that and
rerunning argument clinic makes things start to work.
I don't have the abil
Geoffrey Thomas added the comment:
I am still seeing failures to read responses over 2 GB in Python 3.10b1. I'm
working on a reproducer, but I'm getting the same "OverflowError: signed
integer is greater than maximum" that I get in 3.9.