I think you'd basically need to make a list wrapper that prints a
deprecationwarning when someone tries to add or append to it.

Kevin

On 3/15/06, Michele Cella <[EMAIL PROTECTED]> wrote:
>
> Mmm, what's the best way to deprecate this list? any idea? a metaclass?
>
> Anyway going offline now, see you guys!
>
> Ciao
> Michele
>
> Michele Cella wrote:
> > Hi guys,
> >
> > in:
> >
> > http://trac.turbogears.org/turbogears/browser/trunk/turbogears/view/base.py#L25
> >
> > shouldn't we rename variableProvider to variable_provider? and issue a
> > deprecation warning for variableProvider?
> >
> > Ciao
> > Michele
> >
> > [loving this list]
>
>
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to