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
Problem:
I've encountered an issue with the Stream-Framework library's ActivitySerializer class when using the Pickle protocol 4. The serialization process seems to fail when the serialized data contains a semicolon character, which leads to unexpected behavior.
Issue Details:
In the above code snippet, when using the Pickle protocol 4, if the activity.extra_context contains a semicolon character, the serialization process breaks. This appears to be due to changes in the Pickle module's behavior between protocol versions 3 and 4.
Steps to Reproduce:
if we do this we get semicolon
pickle.dumps({'actor_type': 'brand', 'description': 'Some Description'})
output: b'\x80\x04\x95;\x00\x00\x00\x00\x00\x00\x00}\x94(\x8c\nactor_type\x94\x8c\x05brand\x94\x8c\x0bdescription\x94\x8c\x10Some Description\x94u.'
Description:
Problem:
I've encountered an issue with the
Stream-Framework
library'sActivitySerializer
class when using the Pickle protocol 4. The serialization process seems to fail when the serialized data contains a semicolon character, which leads to unexpected behavior.Code Sample:
Issue Details:
In the above code snippet, when using the Pickle protocol 4, if the activity.extra_context contains a semicolon character, the serialization process breaks. This appears to be due to changes in the Pickle module's behavior between protocol versions 3 and 4.
Steps to Reproduce:
But if we do use protocol 3 then no semicolon
The text was updated successfully, but these errors were encountered: