A number of utilities function in `IPython/utils/py3compat.py` are no-op, or could be simplified. For example the following two variables : ``` string_types = (str,) unicode_type = str ``` And following functions: ``` str_to_unicode = no_code unicode_to_str = no_code cast_bytes_py2 = no_code cast_unicode_py2 = no_code buffer_to_bytes_py2 = no_code ``` Are often use in a single place or do nothing. Their usage should be replaced / removed.
Activity
bhngupta commentedon Dec 5, 2019
Can I take up this issue?
Code Cleanup: Remove unused unused utility functions from 'IPython/ut…
Merge pull request #12009 from kousikmitra/master
Carreau commentedon Dec 5, 2019
closed by #12009
Merge branch 'master' into dynamic. Holy cow.