[Python-3000] PEP Draft: Enhancing the buffer protcol (original) (raw)
Josiah Carlson jcarlson at uci.edu
Wed Mar 7 03:54:41 CET 2007
- Previous message: [Python-3000] PEP Draft: Enhancing the buffer protcol
- Next message: [Python-3000] Interaction between unittest and keyword argument machinery
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"Guido van Rossum" <guido at python.org> wrote:
I haven't been following that as closely as perhaps I should have. I'd be glad to drop this and go back to a string representation/implementation that's essentially the 2.x unicode type, with a compile-time configuration choice between 16 or 32 bits wide characters only.
Sounds good to me.
If the extended buffer interface gets accepted, it may make sense to remove the string encoding "defenc" attribute on unicode objects which is "used for implementing the buffer protocol", as it would no longer be necessary for the buffer interface, or it could be kept around for 'print(unicodeobject)' calls.
- Josiah
- Previous message: [Python-3000] PEP Draft: Enhancing the buffer protcol
- Next message: [Python-3000] Interaction between unittest and keyword argument machinery
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]