Package: python-paramiko
Version: 1.14.0-1
Severity: normal

As of recently, paramiko no longer accepts buffer() objects as argument to
BufferedFile.write. Rather, it requires that all arguments be either
bytestrings or unicode strings. This regression breaks bzr, which writes
files in chunks using buffer().

   File "/usr/lib/python2.7/dist-packages/paramiko/file.py", line 324, in write
     data = b(data)
   File "/usr/lib/python2.7/dist-packages/paramiko/py3compat.py", line 43, in b
     raise TypeError("Expected unicode or bytes, got %r" % s)
 TypeError: Expected unicode or bytes, got <read-only buffer for 
0x7fbbb3f348f0, size 5242880, offset 0 at 0x7fbbcb8599b0>

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-paramiko depends on:
ii  python         2.7.6-2
ii  python-crypto  2.6.1-5
ii  python-ecdsa   0.11-1

python-paramiko recommends no packages.

python-paramiko suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to