After updating one of my apps to the latest TG2.1 dev version, I was
surprised to see deprecations warnings for every call of default()
controller methods.
It seems default() and lookup() have been renamed to _default()
and _lookup().
Why has this been changed? Is there any good reason for that?
Why was this change not been discussed or disclosed on the mailing list?
And why have the docs not been updated?
* the docs still talk about default() nearly everywhere:
http://turbogears.org/2.1/docs/main/Controllers.html
http://turbogears.org/2.1/docs/main/explorequickstart.html
http://turbogears.org/2.1/docs/main/TGControllers.html
(in the second section it's _default() suddenly),
also the wiki20 tutorial in the text and code snippets
* some tests still use default() and lookup()
* even the TGController still has default() and lookup()
in its docstring
This really needs to be fixed before the TG 2.1 release.
-- Christoph
--
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/turbogears-trunk?hl=en.