Closed teskje closed 4 years ago
I need this. Maintainers, please merge. Meanwhile, is there any workaround with the current version of the library?
Wow, that was fast, thanks @plusvic! Now, when is a new version planned? :)
just wanted to say thanks for implementing and merging this! I came here looking to see if anyone else had run into this issue and you all did not disappoint!
This makes rules matching compatible with data objects
PyArg_ParseTuple
does not consider read-only (even though they might actually be), such a memoryviews. The main change is replacing thes#
formatter withs*
and replacing the(pointer, length)
pair with aPy_buffer
object accordingly. Additional care must be taken to release thePy_buffer
on every error path.Resolves #147.