#1963: Pages of quickstarted TG 1.1 app do not validate
-------------------------+--------------------------------------------------
Reporter: chrisz | Owner: Chris Arndt
Type: defect | Status: assigned
Priority: high | Milestone: 1.1
Component: TurboGears | Version: 1.1 HEAD
Severity: major | Resolution:
Keywords: needs tests |
-------------------------+--------------------------------------------------
Comment (by chrisz):
I had actually posted a comment for motivating this patch, but somehow it
got lost. My point was that I had just found that the ``**options``
approach has actually been used by Pylons 0.9.7 in its
[http://pylonshq.com/docs/en/0.9.7/modules/templating/#legacy-buffet-
functions legacy Buffet support] already. Buffet support has now been
dropped completely, but at least we could consider it as prior art that we
would just revive.
Concerning 1., I don't think anybody would use as_format as positional
argument since it was at the end of the argument list. Concerning 2.,
your're right in that options would have a different meaning in
``__init__`` and ``__render__``. We could rename it to ``*kwargs`` to
avoid that, but I don't think it's necessary and this can still be done
any time without breaking anything.
--
Ticket URL: <http://trac.turbogears.org/ticket/1963#comment:32>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---