[Python-3000] Need help enforcing strict str/bytes distinctions

Guido van Rossum guido at python.org
Wed Aug 29 06:07:44 CEST 2007


On 8/28/07, Lars Gustäbel <lars at gustaebel.de> wrote:
> On Mon, Aug 27, 2007 at 05:16:37PM -0700, Guido van Rossum wrote:
> > As anyone following the py3k checkins should have figured out by now,
> > I'm on a mission to require all code to be consistent about bytes vs.
> > str. For example binary files will soon refuse str arguments to
> > write(), and vice versa.
> >
> > I have a patch that turns on this enforcement, but I have anout 14
> > failing unit tests that require a lot of attention. I'm hoping a few
> > folks might have time to help out.
> >
> > Here are the unit tests that still need work:
> > [...]
> > test_tarfile
>
> Fixed in r57608.

Thanks!

I fixed most others (I think); we're down to test_asynchat and
test_urllib2_localnet failing. But I've checked in the main patch
enforcing stricter str/bytes, just to get things rolling.


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list