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

Christian Heimes wrote:
> Jesus Cea wrote:
>> I can't reproduce the issue in my local Python3.0 development version
>> (here, all tests passes fine). Any suggestion?.
> 
> Yeah, use my byte warning mode of Python 3.0. Before your time in the
> core team I had a long discussion with Guido and a few others. The
> conclusion of the discussion was the byte warning mode.

So much to learn, so little time :). Do you have an URL at hand?

>> "Decoding" the "db.DB_VERSION_STRING" byte string would solve the error,
>> but I rather prefer to know WHY I am having this issue at all. My
>> Python3.0 "str()" has no any issue with byte values:
> 
> It has no issues because Guido wanted str() to successed. Any comparison
> or conversion of a byte / bytearray instance with / to str is most
> likely a bug or design flaw in the application. The byte warning mode
> helps to discover hard to find bugs like "" == b"".

Just committed the "decode" thing: r66188.

- --
Jesus Cea Avion                         _/_/      _/_/_/        _/_/_/
[EMAIL PROTECTED] - http://www.jcea.es/     _/_/    _/_/  _/_/    _/_/  _/_/
jabber / xmpp:[EMAIL PROTECTED]         _/_/    _/_/          _/_/_/_/_/
.                              _/_/  _/_/    _/_/          _/_/  _/_/
"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

iQCVAwUBSL8CPplgi5GaxT1NAQK9gQP/SvkaSpRl+hqAtuCy1uh8cj6NwUN2Iw0E
Z6XZfxNIRgcBtwJdugSu/70lqRsCusj9cSrxxhCw5xPQSjUeLQTsVlvqGNPGU1XI
PNKrA6ofqsHRlJgg/umKmdlyOy8PftckWugPOw2RVIeQXeRuWxs35/7F4uVEnCT2
ttCvJJPhDJo=
=hahg
-----END PGP SIGNATURE-----
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to