Closed
Description
Hi there,
I'm trying to get the internal data of the Packer object in order to avoid unneeded copying, as documented here.
The code is as follow :
import msgpack
def do_the_job():
packer = msgpack.Packer(autoreset=False)
packer.pack(1)
return packer.getbuffer()
bytes(do_the_job())
When running this snippet, I get the following error :
[1] 9018 segmentation fault (core dumped) python script.py
I am using Ubuntu 18.04.5 LTS together with msgpack 1.0.2.
Thanks in advance for your help and for your work on this package !
Metadata
Metadata
Assignees
Labels
No labels