![](https://secure.gravatar.com/avatar/de311342220232e618cb27c9936ab9bf.jpg?s=120&d=mm&r=g)
July 20, 2022
12:33 a.m.
On 7/19/22 16:43, Dan Stromberg wrote:
When porting code from python2 -> python3, one of the biggest hurdles is getting all the things that used to be just str, converted to sometimes-str-sometimes-bytes.
python3 -b warns about comparisons and likely-unsafe conversions.
If -b is no longer alerting about these, what does that really mean?
Another way to phrase the question: What kind of str/bytes problems does -b not warn about? -- ~Ethan~