
I don't understand the question Sent from my phone with my typo-happy thumbs. Please excuse my brevity On Tue, Jul 19, 2022, 18:17 Dan Stromberg <drsalists@gmail.com> wrote:
Hi folks.
I've been porting things from Python2 to Python3 for a while, but I just found out today about python3's -b option, which emits a warning when comparing str to bytes (or vice versa), or when converting bytes to str using the str initializer. I noticed that it also seems to even help with dictionary keys - nice.
My question is: if -b is no longer detecting things to warn about, how much does that say about how far along your str-vs-bytes-correctness is?
Thanks.
_______________________________________________ code-quality mailing list -- code-quality@python.org To unsubscribe send an email to code-quality-leave@python.org https://mail.python.org/mailman3/lists/code-quality.python.org/ Member address: graffatcolmingov@gmail.com