Skip to content

Replace py2isms with py3 #4488

@wchargin

Description

@wchargin

We have by now firmly and securely dropped Python 2 support. As of
#4361, all our sources set srcs_version = "PY3", so no Bazel-built py2
binaries may depend on these sources (even Google-internally).

There remain many contortions in our code that are vestiges of the
bicompatibility period. Most of these fall under “mostly harmless, but
should be cleaned up incrementally or eventually”.

Off the top of my head:

Feel free to add more.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions