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

Bytes/String duality #622

Open
Thrameos opened this issue Mar 15, 2020 · 0 comments
Open

Bytes/String duality #622

Thrameos opened this issue Mar 15, 2020 · 0 comments

Comments

@Thrameos
Copy link
Contributor

In Python2 strings and bytes were confused concepts. A string could be either byte or unicode. With dropping of Python 2 support, we are now in a place where we no longer have to treat bytes as strings.

This may disrupt some existing code in which bytes are being passed with the expectation that they will convert to strings automatically. However, as JString already has a byte[] converter the only likely thing to break is passing arguments to methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant