Skip to content

cleanup py3compat #11985

Closed
Closed

Description

@Carreau

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

  1. bhngupta commented on Dec 5, 2019

    @bhngupta

    Can I take up this issue?

  2. added a commit that references this issue on Dec 5, 2019
  3. Carreau commented on Dec 5, 2019

    @Carreau
    MemberAuthor

    closed by #12009

  4. added this to the 7.11 milestone on Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions