Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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 enabled auto-merge November 25, 2022 08:21
@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.

2 participants