[issue8990] array constructor and array.fromstring should accept bytearray.

Thomas Jollans report at bugs.python.org
Thu Jul 1 16:09:19 CEST 2010


Thomas Jollans <thomas at jollans.com> added the comment:

Secondly, this is my attempt to add the more sensibly named {to|from}bytes methods, and to deprecate {to|from}string. 

I doubt it's perfect, maybe there's some policy on deprecating methods that I didn't find? This may be better discussed in a separate forum, eg a separate issue or python-dev maybe? I wouldn't know.

The unpatched test suite passes with the rest of this patch applied. (unless using -Werror)

----------
Added file: http://bugs.python.org/file17827/tofrombytes.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8990>
_______________________________________


More information about the Python-bugs-list mailing list