[issue6369] binhex buggy in py3k

2009-07-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed in r73747 and r73748. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue6369] binhex buggy in py3k

2009-06-30 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, failure or success of the current tests seems to rely on the length of the filename being tested! :-) -- ___ Python tracker ___ __

[issue6369] binhex buggy in py3k

2009-06-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Believe it or not, the failing test is already in svn: http://mail.python.org/pipermail/python-checkins/2009-June/084616.html -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue6369] binhex buggy in py3k

2009-06-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: The bug is due to bytes-indexing returning an int in py3k while it returns another bytes object in trunk. Here is a patch. I don't know how to reliably test for it, though. -- keywords: +patch stage: needs patch -> patch review Added file: http://bugs.p

[issue6369] binhex buggy in py3k

2009-06-29 Thread Antoine Pitrou
New submission from Antoine Pitrou : The binhex module is buggy in py3k, witness the following example (it works ok on trunk): >>> binhex.binhex("README", "testA") >>> binhex.hexbin("testA", "outA") >>> binhex.binhex("LICENSE", "testB") >>> binhex.hexbin("testB", "outB") Traceback (most recent c