[Python-3000] need help fixing broken tests in py3k-pep3137 branch
Adam Hupp
adam at hupp.org
Sat Nov 3 19:17:58 CET 2007
On 11/2/07, Guido van Rossum <guido at python.org> wrote:
>
> test_asynchat
> test_asyncore
A patch for these is in http://bugs.python.org/issue1380
One of the errors was an explicit isinstance test for bytes when the
actual type was buffer. Is there a way to test for 'bytes-like'? Is
the presence of a 'decode' method sufficient?
--
Adam Hupp | http://hupp.org/adam/
More information about the Python-3000
mailing list