Package: python2.6 Version: 2.6.6~rc1-1 Severity: important
(x86_64)mathi...@obelix:~$ python Python 2.6.6rc1+ (r266rc1:83691, Aug 5 2010, 17:07:04) [GCC 4.4.5 20100728 (prerelease)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import json >>> class ComplexEncoder(json.JSONEncoder): ... def default(self, obj): ... return json.JSONEncoder.default(self, obj) ... Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'module' object has no attribute 'JSONEncoder' Downgrading python2.6-minimal 2.6.6~rc1-1 to python2.6-minimal_2.6.5+20100706-1_amd64.deb resp. python2.6 2.6.5+20100706-1 to python2.6_2.6.5#20100706-1_amd64.deb) made it working again. -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (800, 'unstable'), (600, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-2-obelix-opt (SMP w/2 CPU cores; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to de_DE.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages python2.6 depends on: ii libbz2-1.0 1.0.5-4 high-quality block-sorting file co ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libdb4.8 4.8.26-1 Berkeley v4.8 Database Libraries [ ii libncursesw5 5.7+20100313-2 shared libraries for terminal hand ii libreadline6 6.1-3 GNU readline and history libraries ii libsqlite3-0 3.7.0-1.1 SQLite 3 shared library ii mime-support 3.48-1 MIME files 'mime.types' & 'mailcap ii python2.6-minimal 2.6.6~rc1-1 A minimal subset of the Python lan python2.6 recommends no packages. Versions of packages python2.6 suggests: ii binutils 2.20.1-12 The GNU assembler, linker and bina pn python2.6-doc <none> (no description available) pn python2.6-profiler <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

