[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: python2.6 vs python-json



* Bernd Zeimetz <bzed@debian.org>, 2010-02-16, 23:25:
I start to wonder how they make a difference betweek py2.6's json and
python-json, if its necessary at all for anyjson.

It doesn't deal very well... Here's what happens in a clean chroot with only python-anyjson and python-json installed:

import anyjson
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.5/anyjson/__init__.py", line 116, in <module>
    implementation = _JsonImplementation(modspec)
  File "/usr/lib/pymodules/python2.5/anyjson/__init__.py", line 58, in __init__
    self._encode = getattr(module, modinfo["encoder"])
AttributeError: 'module' object has no attribute 'dumps'

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature


Reply to: