Jim Jewett schrieb:
> Simply delegate such methods to a hidden per-encoding subclass.
> 
> The UTF-8 methods will indeed be complex, unless the solution is
> simply "someone called indexing/slicing/len, so I have to recode after
> all."
> 
> The Latin-1 encoding will have no such problem.

I'm not so much worried about UTF-8 or Latin-1; they are fairly trivial.
Efficiency of such methods for multi-byte encodings would be
dramatically slow.

Regards,
Martin
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to