2 ms·
The default string type is a unicode string since Python3, a special string type for unicode had been part of the language since somewhere in the early 2.x rele
by detaro 9y ago
The default string type is a unicode string since Python3, a special string type for unicode had been part of the language since somewhere in the early 2.x releases (which happened 5+ years before 3.0, in the early 2000s). Not being the default, it of course wasn't generally supported in libraries and still a lot later than Ruby.
- masklinn 9y ago> Not being the default, it of course wasn't generally supported in libraries and still a lot later than Ruby. Ruby has never had text strings at all. It added an encoding property to bytestrings in 2007.