Closed CWagner23 closed 8 months ago
@CWagner23 Please check out this documentation and see if you agree that when a y# is passed to Py_BuildValue the content of the memory buffer is copied. If you do agree, you can close out the TODO before we merge the pull request
@msancheznet I agree that it does copy, so I have removed the TODO comments
A new optional parameter for
bp_receive
calledreturn_headers
has been created. This param takes a boolean value where if set to True, the function call will return a tuple where the first value is the bundle payload and the second is the bundle headers.The current behavior is to return only the bundle payload. This param is set to False by default so that any existing code will not be broken by this change.