Re: [Python-Dev] String terminology [was Re: Misc re.match() complaint]

2013-07-17 Thread Guido van Rossum
When precision is needed I say things like 'a str object' or 'a bytes object'. There is no shame in a bit of verbosity around such issues, especially in the reference docs (tutorials are a different issue). On Wed, Jul 17, 2013 at 4:50 AM, Steven D'Aprano wrote: > On 17/07/13 19:05, Terry Reedy w

[Python-Dev] String terminology [was Re: Misc re.match() complaint]

2013-07-17 Thread Steven D'Aprano
On 17/07/13 19:05, Terry Reedy wrote: Saying that input arguments can be "Unicode strings as well as 8-bit strings' (the wording is from 2.x, carried over to 3.x) does not necessary exclude other inputs. "8-bit strings" seems somewhat ambiguous to me. In UTF-8, many Unicode strings are 8-bi