-
-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
-
If we look closely to these tables -> columns for erlang binary() to python bytes() for [python3 only] vise versa.
-
This basically means that arguments of str() data type in erlang sent over to python functions will be converted to bytes() in python3.
-
So for python functions expecting arguments of str() data type, do not forget to convert the received arguments back to python string before using.
# gist ref
decoded_args = locals()
for arg_name, arg_value in locals().items():
if isinstance(arg_value, bytes):
decoded_args[arg_name] = arg_value.decode("utf-8")
shamil614, FrancisMurilloDigix, dyjjones and KevinConti
Metadata
Metadata
Assignees
Labels
No labels
