Gregory P. Smith wrote: > A thought that just occurred to me... Would a PyBUF_CANONICAL flag be > useful instead of CHARACTERS?
I don't think the buffer API should be allowing for anything that requires, or could require, the provider to convert the data into a different form. It should stick to being a way of getting direct access to the underlying data, whatever form it's in. There could be type codes for various representations of Unicode if desired. But re-encoding should be a separate step. -- Greg _______________________________________________ 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