add byte datatype for channel
with python3 it is more involved to send bytes over channel e.g. pickled objects result in bytes, this needs to be encoded back into str for it to work this is a bit weird because underlying transport is bytes so send and receive of string should maybe also work ith bytes
The reason for this is that send_string mechanism in channel.py expects a python str and not a bytes object. Note that the assumption is that the str only contains ascii characters, because the other side (C/ fortran) handles the string as raw bytes. I think I will change the channel to accept bytes. The only problem with this is when communicating between python processes (str will be converted to bytes)..
on second thought: its better to add a new datatype for bytes...
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 28 days if no further activity occurs. Thank you for your contributions.