[pypy-issue] Issue #2714: pypy2 5.10.0 has trouble with ctypes.create_string_buffer (pypy/pypy)

strombrg issues-reply at bitbucket.org
Tue Dec 26 00:54:47 EST 2017


New issue 2714: pypy2 5.10.0 has trouble with ctypes.create_string_buffer
https://bitbucket.org/pypy/pypy/issues/2714/pypy2-5100-has-trouble-with

strombrg:

In 5.10.0 for pypy2, this works:
ctypes_compressed_buffer_char_p = ctypes.create_string_buffer(b'\0' * maximum_size)

This does not work, but should:
ctypes_compressed_buffer_char_p = ctypes.create_string_buffer(maximum_size)

I'm attaching a file report.txt that includes what pythons this works/doesn't work on, and the traceback from pypy2 5.10.0.

The code can be perused at http://stromberg.dnsalias.org/svn/xz_mod/trunk




More information about the pypy-issue mailing list