Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add notes about shedding threadlocals

  • Loading branch information...
commit 5efc45b6387f5ae6e6d3517b294964fb0c15d732 1 parent 9c85444
@mcdonc mcdonc authored
Showing with 16 additions and 0 deletions.
  1. +16 −0 TODO.txt
View
16 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).
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.