Python's 8-bit cleanness deprecated?
aleax at aleax.it
Tue Feb 4 10:59:21 CET 2003
Roman Suzi wrote:
> And what if I include some raw 8-bit character missing in the
> current encoding?
Then you use an escape sequence instead -- that's what they're
for. If the character is "missing in the current encoding"
it will be BETTER not to have it directly in the string
literal, anyway -- who knows what could happen to people
trying to display it, otherwise.
> I blame myself for not checking the PEP with the suggestion
> in time...
I think the alpha stage IS still "in time", if you can
convince Guido to change the warning-stragegy. But --
coach your arguments well: he's not easy to convince.
> I think raw 8bit must be set by default without any warnings.
I disagree, but not hotly -- I'll be quite content with
whatever warning strategy ends up being adopted; say
I'm a +0 on the choice made for 2.3alpha. But be warned
that you'll have to argue against hotly +1 people --
check the python-dev archives to hone your arguments.
(Arguing here is not much use of course, since Guido
doesn't read c.l.py currently).
More information about the Python-list