Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unicode session behavior #1

Open
wants to merge 1 commit into
base: 0.3-maintenance
Choose a base branch
from

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.

2 participants