Package: python3-imaging
Version: 1.1.7+2.0.0-1
PIL.Image.open(), unlike the builtin open() function, doesn't accept
byte strings as filenames. If you try to do that, you get an unhelpful
exception:
| $ python3.3 -c 'from PIL import Image; Image.open(b"foo.png")'
| Traceback (most recent call last):
| File "<string>", line 1, in <module>
| File "/usr/lib/python3/dist-packages/PIL/Image.py", line 1992, in open
| prefix = fp.read(16)
| AttributeError: 'bytes' object has no attribute 'read'
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)
Foreign Architectures: amd64
Kernel: Linux 3.8-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python3-imaging depends on:
ii libc6 2.17-2
ii libfreetype6 2.4.9-1.1
ii libjpeg8 8d-1
ii liblcms1 1.19.dfsg-1.2
ii libtiff4 3.9.6-11
ii mime-support 3.54
ii python3 3.2.3-7
ii zlib1g 1:1.2.8.dfsg-1
--
Jakub Wilk
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org