by gardentheory · 14y ago · 0 comments
"a" + b"s" is an error in Python 3.
Static types solve it earlier though, especially for little-exercised code paths which could be forgotten or missed in testing.
The programmer would probably just try to fix it via str(u"a")+"s" or u"a" + unicode("s").