Terry J. Reedy <tjre...@udel.edu> added the comment: Consistency between bytes and strings is not much of a concern here, or the change would have been make for bytes when it was made for strings. I would not approve the request without knowing who chose not to and why.
I think an example like t = bytes.maketrans( b'ABCDEVGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz', b'vcccvcccvcccccvcccccvcscscvcccvcccvcccccvcccccvcscsc') is *much* better as it is than as a dict. ---------- nosy: +terry.reedy _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31594> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com