On Tue, Dec 19, 2000 at 07:02:05PM -0800, noreply@sourceforge.net wrote: >Date: 2000-Dec-19 19:02 >By: tim_one >Unrelated to your patch but in the same area: the other msg, "ord() >expected string or Unicode character", doesn't read right. The type >names in question are "string" and "unicode": > >>>> type("") ><type 'string'> >>>> type(u"") ><type 'unicode'> >>>> > >"character" is out of place, or not in enough places. Just thought I'd mention that, since *you're* so cute! Is it OK to refer to 8-bit strings under that name? How about "expected an 8-bit string or Unicode string", when the object passed to ord() isn't of the right type. Similarly, when the value is of the right type but has length>1, the message is "ord() expected a character, length-%d string found". Should that be "length-%d (string / unicode) found)" And should the type names be changed to '8-bit string'/'Unicode string', maybe? --amk
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4