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 u string prefixes #6633

Merged
merged 3 commits into from Sep 13, 2020
Merged

Remove u string prefixes #6633

merged 3 commits into from Sep 13, 2020

Conversation

rahulporuri
Copy link
Contributor

@rahulporuri rahulporuri commented Sep 13, 2020

The u"..." string prefixes are necessary on python 2 to indicate unicode strings. On Python 3, all strings are unicode strings and the u"..." prefixes are not needed anymore. The changes were done using manual search and replace.

  • Tests added / passed
  • Passes black dask / flake8 dask

Sai Rahul Poruri and others added 3 commits September 13, 2020 09:21
The u string prefixes are necessary on python 2 to indicate unicode
strings. On Python 3, all strings are unicode strings and the u prefixes
are not needed anymore.

The changes were done using manual search and replace.

	modified:   dask/bag/core.py
	modified:   dask/bytes/tests/test_s3.py
	modified:   dask/dataframe/hyperloglog.py
	modified:   dask/dataframe/io/hdf.py
	modified:   dask/dataframe/tests/test_format.py
	modified:   dask/tests/test_base.py
	modified:   dask/utils.py
	modified:   docs/source/conf.py
Black seems to complain about the eager change
@mrocklin
Copy link
Member

Thank you @rahulporuri !

Also, I notice that this is your first code contribution to this repository. Welcome!

@mrocklin mrocklin merged commit a3bcb33 into dask:master Sep 13, 2020
kumarprabhu1988 pushed a commit to kumarprabhu1988/dask that referenced this pull request Oct 29, 2020
The u string prefixes are necessary on python 2 to indicate unicode
strings. On Python 3, all strings are unicode strings and the u prefixes
are not needed anymore.
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

2 participants