From 76d7eb6a4b9bc73c7fb39c45730c7e2b480e8e98 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Fri, 12 Nov 2010 13:57:38 -0500 Subject: - Internal: ZCML directives no longer call get_current_registry() if there's a ``registry`` attribute on the ZCML context (kill off use of threadlocals). --- TODO.txt | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) (limited to 'TODO.txt') diff --git a/TODO.txt b/TODO.txt index ecb50e943..cffd5912f 100644 --- a/TODO.txt +++ b/TODO.txt @@ -107,12 +107,20 @@ - 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). All ZCML - directives use ``get_current_registry`` to obtain the registry. + + security.principals_allowed_by_permission + + chameleon_text.TextTemplateRenderer.template (also uses get_settings) + + chameleon_zpt.ZPTTemplateRenderer.template (also uses get_settings) + + resource.OverrideProvider._get_overrides: can't credibly be removed, + because it stores an overrideprovider as a module-scope global. + + traversal.traverse: this API is a stepchild, and needs to be changed. + + Configurator.add_translation_dirs: not passed any context but a message, + can't credibly be removed. - Add deprecation warnings for: @@ -121,6 +129,10 @@ - settings.get_settings + - zcml.zcml_configure + + - zcml.file_configure + -- cgit v1.2.3