Home | History | Annotate | Download | only in jinja2

Lines Matching full:bytecode

6     This module implements the bytecode cache system Jinja is optionally
49 # reason for this is that Python tends to segfault if fed earlier bytecode
58 """Buckets are used to store the bytecode for one template. It's created
59 and initialized by the bytecode cache and passed to the loading functions.
62 to automatically reject outdated cache material. Individual bytecode
73 """Resets the bucket (unloads the bytecode)."""
77 """Loads bytecode from a file or file like object."""
91 """Dump the bytecode into the file or file like object passed."""
99 """Load bytecode from a string."""
103 """Return the bytecode as string."""
110 """To implement your own bytecode cache you have to subclass this class
114 A very basic bytecode cache that saves the bytecode on the file system::
134 A more advanced version of a filesystem based bytecode cache is part of
139 """Subclasses have to override this method to load bytecode into a
146 """Subclasses have to override this method to write the bytecode
154 implemented to allow applications to clear the bytecode cache used
188 """A bytecode cache that stores bytecode on the filesystem. It accepts
200 This bytecode cache supports clearing of the cache using the clear method.
241 """This class implements a bytecode cache that uses a memcache cache for
254 the underlying cache client to the bytecode cache which is available
263 Stores the bytecode in the cache. `value` is a string and
275 is added before the actual cache key and the timeout for the bytecode in
278 This bytecode cache does not support clearing of used items in the cache.
286 def __init__(self, client, prefix='jinja2/bytecode/', timeout=None,