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

Lars Gustäbel lars at gustaebel.de
Tue Aug 28 09:44:20 CEST 2007


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.

-- 
Lars Gustäbel
lars at gustaebel.de

The direct use of force is such a poor solution to any problem,
it is generally employed only by small children and large nations.
(David Friedman)


More information about the Python-3000 mailing list