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

Remove usage of unicode type #533

Merged
merged 6 commits into from Nov 25, 2022
Merged

Remove usage of unicode type #533

merged 6 commits into from Nov 25, 2022

Conversation

lieryan
Copy link
Member

@lieryan lieryan commented Nov 25, 2022

These are cleanup of remnants of code from the Python 2 -> 3 transition.

@lieryan lieryan changed the title unicode handling Remove usage of unicode type Nov 25, 2022
@lieryan lieryan self-assigned this Nov 25, 2022
Simplify handling of str/unicode distinction that had been a relic of
Python 2 transition.
unicode was a relic of Python 2 transition. rope no longer support
Python 2, so this is no longer needed.
In Python 3, ast always returns `str` here, and `_decode_data()` is
basically no-op.
@lieryan lieryan added this to the 1.6.0 milestone Nov 25, 2022
@lieryan lieryan merged commit 82ba232 into master Nov 25, 2022
@lieryan lieryan deleted the unicode-handling branch November 25, 2022 08:25
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

Successfully merging this pull request may close these issues.

None yet

1 participant