Skip to content

Upgrading Mako 0.1 to 0.2

Unknown0.1.10 → 0.2.5

UnknownUpgrade verdict

DepDelta hasn't looked for this range's notes yet, so breaking changes can't be ruled out.

  • DepDelta hasn't finished looking for the notes in this range, so it can't rule out breaking changes yet.
Unknown for releases without notes

Releases without notes may still need changes. Check their commits before upgrading.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • added: class ArgumentList(object)
  • added: class FunctionArgs(FunctionDecl)
  • added: class FunctionDecl(object)
  • added: class PythonCode(object)
  • added: class PythonFragment(PythonCode)
  • added: constructor ArgumentList(code, **exception_kwargs)
  • added: constructor FunctionArgs(code, **kwargs)
  • added: constructor FunctionDecl(code, allow_kwargs=…, **exception_kwargs)
  • added: constructor PythonCode(code, **exception_kwargs)
  • added: constructor PythonFragment(code, **exception_kwargs)
  • added: method FunctionDecl.get_argument_expressions(include_defaults=…)
  • removed: variable clsmap
  • removed: variable container
  • changed: constructor Cache(id, starttime, **kwargs) → constructor Cache(id, starttime)
  • changed: method Cache.get(key, type=…, **kwargs) → method Cache.get(key, **kwargs)
  • changed: method Cache.put(key, value, type=…, **kwargs) → method Cache.put(key, value, **kwargs)
  • added: method Cache.invalidate(key, **kwargs)
  • added: method Cache.invalidate_body()
  • added: method Cache.invalidate_closure(name)
  • added: method Cache.invalidate_def(name)
  • added: variable cache
  • changed: function compile(node, uri, filename=…, default_filters=…, buffer_filters=…, imports=…, source_encoding=…) → function compile(node, uri, filename=…, default_filters=…, buffer_filters=…, imports=…, source_encoding=…, generate_unicode=…)
  • changed: constructor RichTraceback() → constructor RichTraceback(traceback=…)
  • changed: constructor Lexer(text, filename=…, input_encoding=…, preprocessor=…) → constructor Lexer(text, filename=…, disable_unicode=…, input_encoding=…, preprocessor=…)
  • changed: constructor TemplateLookup(directories=…, module_directory=…, filesystem_checks=…, collection_size=…, format_exceptions=…, error_handler=…, output_encoding=…, encoding_errors=…, cache_type=…, cache_dir=…, cache_url=…, modulename_callable=…, default_filters=…, buffer_filters=…, imports=…, input_encoding=…, preprocessor=…) → constructor TemplateLookup(directories=…, module_directory=…, filesystem_checks=…, collection_size=…, format_exceptions=…, error_handler=…, disable_unicode=…, output_encoding=…, encoding_errors=…, cache_type=…, cache_dir=…, cache_url=…, cache_enabled=…, modulename_callable=…, default_filters=…, buffer_filters=…, imports=…, input_encoding=…, preprocessor=…)
  • added: class CallNamespaceTag(Tag)
  • added: constructor CallNamespaceTag(namespace, defname, attributes, **kwargs)
  • added: method CallNamespaceTag.declared_identifiers()
  • added: method CallNamespaceTag.undeclared_identifiers()
  • added: method Node.exception_kwargs()
  • removed: method CallerStack.pop_frame()
  • removed: method CallerStack.push_frame()
  • removed: method Context.pop_buffer()
  • removed: method Context.push_buffer()
  • added: field Namespace.attr
  • added: field Namespace.cache
  • added: method Context.writer()
  • added: method Namespace.attr()
  • added: method Namespace.cache()