Skip to content

"Code Cleanup: Remove unused unused utility functions from 'IPython/utils/py3compat.py' #11985 - #12009

Merged
Carreau merged 2 commits into
ipython:masterfrom
kousikmitra:master
Dec 5, 2019
Merged

Carreau merged 2 commits into
ipython:masterfrom
kousikmitra:master

Conversation

@kousikmitra

@kousikmitra kousikmitra commented Dec 5, 2019 •

Copy link
Copy Markdown
Contributor

Removed functions:

def no_code(x, encoding=None)
str_to_unicode = no_code
unicode_to_str = no_code
str_to_bytes = encode
bytes_to_str = decode
cast_bytes_py2 = no_code
cast_unicode_py2 = no_code
buffer_to_bytes_py2 = no_code

string_types = (str,)
unicode_type = str

see #11985

@Carreau

Carreau commented Dec 5, 2019

Copy link
Copy Markdown
Member

Thanks ! That looks great !

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