You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of v0.5.0 this example from the docs doesn't work:
# Deserializing (loading from bytes):
db = hyperscan.loadb(serialized)
because loadb has a mandatory mode parameter. Do the docs want to be updated to db = hyperscan.loadb(serialized, mode=hyperscan.HS_MODE_BLOCK), or does loadb want a default mode value? I'm guessing you added the breaking change because it's unsafe to loadb without supplying the same mode that was used when dumping, so the fix is a docs update.
The text was updated successfully, but these errors were encountered:
As of v0.5.0 this example from the docs doesn't work:
because loadb has a mandatory mode parameter. Do the docs want to be updated to
db = hyperscan.loadb(serialized, mode=hyperscan.HS_MODE_BLOCK)
, or doesloadb
want a default mode value? I'm guessing you added the breaking change because it's unsafe toloadb
without supplying the same mode that was used when dumping, so the fix is a docs update.The text was updated successfully, but these errors were encountered: