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


_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to