From: DongHun Kwak Date: Thu, 14 Jul 2022 05:30:27 +0000 (+0900) Subject: Imported Upstream version 1.0.12 X-Git-Tag: upstream/1.0.12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fupstream%2F1.0.12;p=platform%2Fupstream%2Fpython3-mako.git Imported Upstream version 1.0.12 --- diff --git a/Mako.egg-info/PKG-INFO b/Mako.egg-info/PKG-INFO index 7441da4..53c04d6 100644 --- a/Mako.egg-info/PKG-INFO +++ b/Mako.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: Mako -Version: 1.0.11 +Version: 1.0.12 Summary: A super-fast templating language that borrows the best ideas from the existing templating languages. Home-page: https://www.makotemplates.org/ Author: Mike Bayer diff --git a/PKG-INFO b/PKG-INFO index 7441da4..53c04d6 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: Mako -Version: 1.0.11 +Version: 1.0.12 Summary: A super-fast templating language that borrows the best ideas from the existing templating languages. Home-page: https://www.makotemplates.org/ Author: Mike Bayer diff --git a/doc/_static/basic.css b/doc/_static/basic.css index 53acd09..c41d718 100644 --- a/doc/_static/basic.css +++ b/doc/_static/basic.css @@ -289,6 +289,12 @@ img.align-center, .figure.align-center, object.align-center { margin-right: auto; } +img.align-default, .figure.align-default { + display: block; + margin-left: auto; + margin-right: auto; +} + .align-left { text-align: left; } @@ -297,6 +303,10 @@ img.align-center, .figure.align-center, object.align-center { text-align: center; } +.align-default { + text-align: center; +} + .align-right { text-align: right; } @@ -368,6 +378,11 @@ table.align-center { margin-right: auto; } +table.align-default { + margin-left: auto; + margin-right: auto; +} + table caption span.caption-number { font-style: italic; } diff --git a/doc/_static/documentation_options.js b/doc/_static/documentation_options.js index db4a658..813062a 100644 --- a/doc/_static/documentation_options.js +++ b/doc/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '1.0.11', + VERSION: '1.0.12', LANGUAGE: 'None', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', diff --git a/doc/_static/searchtools.js b/doc/_static/searchtools.js index bdc2706..6031f99 100644 --- a/doc/_static/searchtools.js +++ b/doc/_static/searchtools.js @@ -319,12 +319,13 @@ var Search = { for (var prefix in objects) { for (var name in objects[prefix]) { var fullname = (prefix ? prefix + '.' : '') + name; - if (fullname.toLowerCase().indexOf(object) > -1) { + var fullnameLower = fullname.toLowerCase() + if (fullnameLower.indexOf(object) > -1) { var score = 0; - var parts = fullname.split('.'); + var parts = fullnameLower.split('.'); // check for different match types: exact matches of full name or // "last name" (i.e. last dotted part) - if (fullname == object || parts[parts.length - 1] == object) { + if (fullnameLower == object || parts[parts.length - 1] == object) { score += Scorer.objNameMatch; // matches in last name } else if (parts[parts.length - 1].indexOf(object) > -1) { diff --git a/doc/build/changelog.rst b/doc/build/changelog.rst index 0f23176..f5e93d9 100644 --- a/doc/build/changelog.rst +++ b/doc/build/changelog.rst @@ -6,6 +6,18 @@ Changelog === .. changelog:: + :version: 1.0.12 + :released: Wed Jun 5 2019 + + .. change:: + :tags: bug, py3k + :tickets: 296 + + Fixed regression where import refactors in Mako 1.0.11 caused broken + imports on Python 3.8. + + +.. changelog:: :version: 1.0.11 :released: Fri May 31 2019 diff --git a/doc/build/conf.py b/doc/build/conf.py index 787d059..b069052 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -70,7 +70,7 @@ copyright = u'the Mako authors and contributors' # The short X.Y version. version = mako.__version__ # The full version, including alpha/beta/rc tags. -release = mako.__version__ +release = "1.0.12" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/caching.html b/doc/caching.html index c449d90..b6a7c55 100644 --- a/doc/caching.html +++ b/doc/caching.html @@ -12,7 +12,7 @@ Caching — - Mako 1.0.11 Documentation + Mako 1.0.12 Documentation @@ -32,7 +32,7 @@ - + @@ -56,7 +56,7 @@
-

Mako 1.0.11 Documentation

+

Mako 1.0.12 Documentation

- Release: 1.0.11 + Release: 1.0.12
@@ -92,7 +92,7 @@
- Mako 1.0.11 Documentation + Mako 1.0.12 Documentation » Caching @@ -468,7 +468,7 @@ conflicts with generated modules don’t occur.

API Reference¶

-class mako.cache.Cache(template, *args)¶
+class mako.cache.Cache(template, *args)¶

Bases: object

Represents a data content cache made available to the module space of a specific Template object.

@@ -486,7 +486,7 @@ of a Template.cache attribute.

-get(key, **kw)¶
+get(key, **kw)¶

Retrieve a value from the cache.

Parameters
@@ -503,14 +503,14 @@ values will use that same backend.

-get_or_create(key, creation_function, **kw)¶
+get_or_create(key, creation_function, **kw)¶

Retrieve a value from the cache, using the given creation function to generate a new value.

-id = None¶
+id = None¶

Return the ‘id’ that identifies this cache.

This is a value that should be globally unique to the Template associated with this cache, and can @@ -520,7 +520,7 @@ for data specific to this template.

-impl = None¶
+impl = None¶

Provide the CacheImpl in use by this Cache.

This accessor allows a CacheImpl with additional methods beyond that of Cache to be used programmatically.

@@ -528,7 +528,7 @@ methods beyond that of
-invalidate(key, **kw)¶
+invalidate(key, **kw)¶

Invalidate a value in the cache.

Parameters
@@ -545,14 +545,14 @@ values will use that same backend.

-invalidate_body()¶
+invalidate_body()¶

Invalidate the cached content of the “body” method for this template.

-invalidate_closure(name)¶
+invalidate_closure(name)¶

Invalidate a nested <%def> within this template.

Caching of nested defs is a blunt tool as there is no management of scope – nested defs that use cache tags @@ -563,21 +563,21 @@ each other.

-invalidate_def(name)¶
+invalidate_def(name)¶

Invalidate the cached content of a particular <%def> within this template.

-put(key, value, **kw)¶
+put(key, value, **kw)¶

A synonym for Cache.set().

This is here for backwards compatibility.

-set(key, value, **kw)¶
+set(key, value, **kw)¶

Place a value in the cache.

Parameters
@@ -592,7 +592,7 @@ template.

-starttime = None¶
+starttime = None¶

Epochal time value for when the owning Template was first compiled.

A cache implementation may wish to invalidate data earlier than @@ -606,12 +606,12 @@ the filesystem.

-class mako.cache.CacheImpl(cache)¶
+class mako.cache.CacheImpl(cache)¶

Bases: object

Provide a cache implementation for use by Cache.

-get(key, **kw)¶
+get(key, **kw)¶

Retrieve a value from the cache.

Parameters
@@ -625,7 +625,7 @@ the filesystem.

-get_or_create(key, creation_function, **kw)¶
+get_or_create(key, creation_function, **kw)¶

Retrieve a value from the cache, using the given creation function to generate a new value.

This function must return a value, either from @@ -647,7 +647,7 @@ a new value.

-invalidate(key, **kw)¶
+invalidate(key, **kw)¶

Invalidate a value in the cache.

Parameters
@@ -661,14 +661,14 @@ a new value.

-pass_context = False¶
+pass_context = False¶

If True, the Context will be passed to get_or_create as the name 'context'.

-set(key, value, **kw)¶
+set(key, value, **kw)¶

Place a value in the cache.

Parameters
@@ -685,12 +685,12 @@ a new value.

-mako.cache.register_plugin(name, modulepath, objname)¶
+mako.cache.register_plugin(name, modulepath, objname)¶
-class mako.ext.beaker_cache.BeakerCacheImpl(cache)¶
+class mako.ext.beaker_cache.BeakerCacheImpl(cache)¶

Bases: mako.cache.CacheImpl

Bases: mako.cache.CacheImpl

A CacheImpl provided for the Beaker caching system.

@@ -699,7 +699,7 @@ value of 'beaker'Template or TemplateLookup classes.

-get(key, **kw)¶
+get(key, **kw)¶

Retrieve a value from the cache.

Parameters
@@ -713,7 +713,7 @@ value of 'beaker'
-get_or_create(key, creation_function, **kw)¶
+get_or_create(key, creation_function, **kw)¶

Retrieve a value from the cache, using the given creation function to generate a new value.

This function must return a value, either from @@ -735,7 +735,7 @@ a new value.

-invalidate(key, **kw)¶
+invalidate(key, **kw)¶

Invalidate a value in the cache.

Parameters
@@ -764,7 +764,7 @@ a new value.

@@ -779,7 +779,7 @@ a new value.