Deprecation preferences

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Deprecation preferences

Frank Shearar-3
There are quite a few places in Kernel that reference Preferences
showDeprecationWarnings.

I'd like to turn this preference into a new-world pragma based
preference, and Deprecation (despite being an exception) seems like a
good place to hang the preference.

So instead of saying "Preferences showDeprecationWarnings" you'd say
"Deprecation showWarnings", and the preference would be called "Show
deprecation warnings".

Any strong objection?

frank

Reply | Threaded
Open this post in threaded view
|

Re: Deprecation preferences

Nicolas Cellier
It sounds fair


2013/11/23 Frank Shearar <[hidden email]>
There are quite a few places in Kernel that reference Preferences
showDeprecationWarnings.

I'd like to turn this preference into a new-world pragma based
preference, and Deprecation (despite being an exception) seems like a
good place to hang the preference.

So instead of saying "Preferences showDeprecationWarnings" you'd say
"Deprecation showWarnings", and the preference would be called "Show
deprecation warnings".

Any strong objection?

frank