#13956: Indefinite args for simpletags and inclusion tags -------------------------------------+------------------------------------- Reporter: melinath | Owner: gregmuellegger Type: New | Status: assigned feature | Component: Template system Milestone: | Severity: Normal Version: SVN | Keywords: simple_tag, Resolution: | simpletag Triage Stage: Accepted | Has patch: 1 Needs documentation: 1 | Needs tests: 1 Patch needs improvement: 1 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+-------------------------------------
Comment (by melinath): Specifically, the patch in its current state changes the signature of generic_tag_compiler from (params, defaults, name, node_class, parser, token) to (parser, token, params, defaults, name, node_class, varargs) for no reason other than that I think it reads better to have parser and token first, since that's standard for tag compilation functions anyway. If anyone were using generic_tag_compiler and counting on the order of the arguments, this patch would break it. I'll add the tests, docs and release notes to the patch soonish. (Unless someone beats me to it.) -- Ticket URL: <https://code.djangoproject.com/ticket/13956#comment:14> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.