STINNER Victor <victor.stin...@haypocalc.com> added the comment:

> There's no way for a buffer compatible object to tell the
> arg parser that it is storing text data.

I think that the buffer protocol targets byte strings/arrays, and that unicode 
type should be enough.

If applications have to exchange text data, they use utf8, which is a byte 
string. I don't see the use case. Open a discussion on python-dev if you would 
like to continue the discussion because this issue is closed.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue8925>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to