summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-11-11 15:01:14 -0500
committerChris McDonough <chrism@plope.com>2010-11-11 15:01:14 -0500
commit5efc45b6387f5ae6e6d3517b294964fb0c15d732 (patch)
treeb2a525a663d3b78a6b0057588ae5befd1f5b7703
parent9c85444015478a68896540db7056e317faac9b0c (diff)
downloadpyramid-5efc45b6387f5ae6e6d3517b294964fb0c15d732.tar.gz
pyramid-5efc45b6387f5ae6e6d3517b294964fb0c15d732.tar.bz2
pyramid-5efc45b6387f5ae6e6d3517b294964fb0c15d732.zip
add notes about shedding threadlocals
-rw-r--r--TODO.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/TODO.txt b/TODO.txt
index 1953d5382..c3d987c6a 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -110,3 +110,19 @@
a good idea
- Default renderer.
+
+- Non-bwcompat use of threadlocals:
+ security.principals_allowed_by_permission, settings.get_settings,
+ chameleon_text.TextTemplateRenderer.template (also uses get_settings),
+ chameleon_zpt.ZPTTemplateRenderer.template (also uses get_settings),
+ resource.OverrideProvider._get_overrides, traversal.traverse,
+ Configurator.add_translation_dirs (get_current_request),
+ i18n.negotiate_locale_name (get_settings). All ZCML directives use
+ ``get_current_registry`` to obtain the registry.
+
+- Add deprecation warnings for:
+
+ - Use of chameleon_zpt and chameleon_text templating functions (use
+ renderer API instead).
+
+