Re:Mercurial’s journey to and reflections on Python 3
by int_19h on Monday January 13, 2020 @04:47PM
(#22039051)
Right. But that's a very different issue, and it's not at all about string literals as such.
Furthermore, the way they solve it - by using their own wrapper helpers that allow bytes - means that the end result should be b'' throughout, no?
The author explains later in the article that many system level python 3 apis that are important to a vcs require unicode and won't accept bytes. So apparently it wasn't as easy as just sticking 'b' in front of every literal.