Message89842
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 call last):
File "<stdin>", line 1, in <module>
File "/home/antoine/py3k/__svn__/Lib/binhex.py", line 445, in hexbin
ifp = HexBin(inp)
File "/home/antoine/py3k/__svn__/Lib/binhex.py", line 364, in __init__
self._readheader()
File "/home/antoine/py3k/__svn__/Lib/binhex.py", line 384, in _readheader
rest = self._read(1 + 4 + 4 + 2 + 4 + 4)
File "/home/antoine/py3k/__svn__/Lib/binhex.py", line 367, in _read
data = self.ifp.read(len)
File "/home/antoine/py3k/__svn__/Lib/binhex.py", line 300, in read
self._fill(wtd - len(self.post_buffer))
File "/home/antoine/py3k/__svn__/Lib/binhex.py", line 337, in _fill
binascii.rledecode_hqx(self.pre_buffer[:mark])
binascii.Error: Orphaned RLE code at start |
|
Date |
User |
Action |
Args |
2009-06-29 14:36:19 | pitrou | set | recipients:
+ pitrou |
2009-06-29 14:36:19 | pitrou | set | messageid: <1246286179.9.0.0098379045157.issue6369@psf.upfronthosting.co.za> |
2009-06-29 14:36:17 | pitrou | link | issue6369 messages |
2009-06-29 14:36:17 | pitrou | create | |
|