[Python-3000] Need help with menial tasks

Amaury Forgeot d'Arc amauryfa at gmail.com
Thu Nov 22 02:19:13 CET 2007

Guido van Rossum:
> I just changed PEP 3137 to rename the mutable bytes type 'bytearray'
> instead of 'buffer', and implemented this change in the py3k branch.
> A lot of code in the Py3k branch still returns PyBytes instances
> (i.e., bytearray) where it should really return PyString instances
> (i.e., bytes). I'm not going to be able to make all these changes
> myself; they require a certain amount of care (e.g. the signature for
> PyBytes_Resize() is different from that of _PyString_Resize())
> although in most cases the unittests don't need to be adjusted
> (because PyBytes() and PyString() compare equal and interoperate in
> almost all circumstances).
> If you have submit privileges, please consider helping out by
> submitting changes for this. If you don't have submit privileges,
> please help out by submitting patches. Check bugs.python.org
> frequently to avoid duplicate work. (Posting names of modules fixed
> here would also be welcome.)

audioop: done.

I noticed that PyString_AsString also accepts PyUnicode objects.
Should we try to remove this?

Amaury Forgeot d'Arc

More information about the Python-3000 mailing list