I like this idea, actually. It encourages people to use the tg namespace when possible. I am normally against monkey-patching, but this is one time I can agree with it easily.
Looking at the docs updates that I need to do for this release cycle, I don't know if I will be able to review this branch until the next one (2.1.3). They're extensive, but we really need these changes for 2.1.2. After reading the recent comments in the "What Would It Take" thread, I almost think I should have waited on 2.1.1 to have these docs done. I *will* review this later, Alessandro. I want to see this sort of change. You and Mark are right, it's the best choice for pushing us forward. I just don't know if I will be able to review for 2.1.2. On Sat, Jun 25, 2011 at 3:30 PM, Alessandro Molina < [email protected]> wrote: > On Wed, Jun 22, 2011 at 2:48 PM, Mark Ramm <[email protected]>wrote: > >> I think it's the only way for us to control our own destiny for the >> future, so I'm +1 on it. And I agree that what we ultimately want >> is for tg.i18n and tg.session and tg.config to be the way we tell >> everybody to use tg -- that way we expose a consistent API and make >> pylons/pyramid/paste/formencode/etc into implementation details. >> >> > When talking with Mark about the idea of exposing everything through the tg > namespace instead of the pylons one he suggested the idea of monkey patching > pylons to report a deprecation warning to people accessing pylons.something > instead of tg.something. > > I think that this might be a great idea to help people migrate their apps > to the tg namespace, but as it involves quite some changes, before merging > it into the development branch I think it needs a bit of review and real > world tests from others. > > The changes are available in the nru_depr_warn branch. > > > https://sourceforge.net/p/turbogears2/tg2/ci/7826dbfdd6147227311c4023f5361362a2915025/ > > Still missing monkeypatching of i18n related things and caching, most of > the other things should be there. > > -- > 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. > -- Michael J. Pedersen My IM IDs: Jabber/[email protected], AIM/pedermj022171 Yahoo/pedermj2002, MSN/[email protected] My LinkedIn Profile: http://www.linkedin.com/in/michaeljpedersen Twitter: pedersentg -- 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.
