May as well throw this query out to the fediverse.
I am looking for *concrete examples* of code that works correctly when interpreted by Python 2.7 but *silently produces incorrect output* when interpreted by Python 3.x. I encountered such a thing about 10 years ago but didn't save it and have been unable to reconstruct it.
All examples are good, but examples that produce output from which it's difficult or impossible to recover the correct output are better.
Edited 62d ago