-
-
Notifications
You must be signed in to change notification settings - Fork 70
Closed
Milestone
Description
Migrated issue, originally created by Michael Bayer (@zzzeek)
its time to get around to this.
-
the "file" and "module" arguments to <%namespace> become mutually exclusive. one or the other.
-
Namespacebreaks intoTemplateNamespace,ModuleNamespace, andNamespacewhich still is used if there's no template or module. -
__getattr__can now be broken down to not require the "has_def()" and "hasattr()" calls, just catch attributeerror and re-raise. -
more importantly,
__getattr__should put the resolved method into__dict__. -
when we do the lambda *args, **kwargs:callable_(context, *args, **kwargs), lets use functools.partial . its native
-
inline _get_star(), plus the partial, should speed it up a bit
Reactions are currently unavailable