[Python-3000] Fwd: Beta 3 planned for this Wednesday (OT: Beta 3 planned for this Wednesday)

Jesus Cea jcea at jcea.es
Fri Sep 5 18:08:28 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gregory P. Smith wrote:
> Anyone have an opinion on http://bugs.python.org/issue3492 in regards
> to it being a release blocker?
> 
> The gist of it:  zlib returns bytearrays where other modules return
> bytes.  zipimport, because it uses zlib, required bytearrays instead
> of bytes as input.  A few other modules also appear to return
> bytearrays when they're likely better off returning bytes for
> consistency.

I strongly agree that zlib *SHOULD* return bytes. If zimport requires a
bytearray (why?), it can do the conversion itself.

> Whats the big deal if this is not fixed before release?  Users are
> likely to get frustrated at inputs not being hashable without explicit
> (data copy) conversion to an immutable type.  And any code that gets
> written depending on these returning bytearrays instead of bytes would
> need fixing if we waited until 3.1 to fix it.

+1. Release Blocker.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
jcea at jcea.es - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:jcea at jabber.org         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
"My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
"El amor es poner tu felicidad en la felicidad de otro" - Leibniz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCVAwUBSMFZeZlgi5GaxT1NAQKPhgQAgeEIZyLU6jhMYq3ALKv5/Ashpa6tGWQV
8SligFMYOyAY7THD8pxMZ3yWtghRtzIRvaDkJCRhNfJp4sGHO4gLj/FCbxe5cuLv
41pYndNQ+VXZMCVkJ5OsdVvww59vvOHKvqwSOWd6BL3JUWjKdWIe/yyAKM2+tKL9
owJPMlIE+l0=
=j0iu
-----END PGP SIGNATURE-----


More information about the Python-3000 mailing list