Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)

                def loads(s, **kw):
            if not kw:
                return default_loads(s)

            key = tuple(sorted(kw.items()))
            func = cached(key)
            if func is None:
                # Begin some real ugliness here -- just modify our instance to
                # have the correct user variables for the initialization functions.
                # Seems to speed up simplejson testcases a bit.
                self.__dict__ = dict((x,y) for (x,y) in key if y is not None)
                func = parsercache[key] = parser_factory()

            return func(s)

src/r/s/rson-0.9/rson/__init__.py   rson(Download)
from rson.base import RSONDecodeError, loads