Skip to content

Conversation

@nZac
Copy link

@nZac nZac commented Apr 27, 2016

This converts the data field to a large binary and assumes Unicode values instead of string data.

@3noch can you review this since we don't have CI for this.

@nZac nZac changed the title Fix unicode session behaviour Fix unicode session behavior Apr 27, 2016
return self.session_class(data, sid=sid)
except:
return self.session_class(sid=sid)
raise
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why have the try/except at all?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Development Artifact. In earlier iterations I raised a custom keg error code, good catch.

@nZac nZac force-pushed the gh-fix-unicode-sessions branch from ddddff2 to c0162a1 Compare April 27, 2016 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants