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

Split "unicode" attributes out to a non-default fixer #193

Open
ncoghlan opened this issue Aug 7, 2019 · 0 comments
Open

Split "unicode" attributes out to a non-default fixer #193

ncoghlan opened this issue Aug 7, 2019 · 0 comments

Comments

@ncoghlan
Copy link

ncoghlan commented Aug 7, 2019

The current unicode_type fixer changes "event.unicode" references in pygame event handlers to "event.six.text_type".

It seems likely that "unicode" appearing as an attribute will be a false positive, so it would make sense to limit the default fixer to bare names, and add a separate opt-in fixer for "unicode" appearing as an attribute

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