[ENH][3.6] DeprecationPreference-avi

Julian Fitzell julian at beta4.com
Tue Sep 16 19:34:37 UTC 2003


Ok, fine, I buy it. :)

Julian

Avi Bryant wrote:
> Well, it seems more useful to pop up a debugger so that you can see the
> full context that the deprecated call was made in, and have access to the
> source to change it right there.  Although I find the notifer popping up
> to be extremely annoying as a user, it's exactly what I would want as a
> developer trying to fix all my calls to deprecated methods.  Since I see
> these as two quite distinct modes, a preference makes lots of sense.  And
> that way when you're not in fix-deprecation mode, you don't get a whole
> bunch of messages cluttering up your Transcript either.
> 
> On Tue, 16 Sep 2003, Julian Fitzell wrote:
> 
> 
>>I'm not convinced we really need a preference for this.  It adds more
>>complexity and I still think you'd end up getting annoyed at other
>>people's packages' deprecations while trying to solve your own (as
>>opposed to just ignoring those lines in a transcript).  I think I'd
>>still vote for just having transcript output, but this enhancement would
>>certainly be better than the status quo.
>>
>>avi at beta4.com wrote:
>>
>>>from preamble:
>>>
>>>"Change Set:		DeprecationPreference-avi
>>>Date:			16 September 2003
>>>Author:			Avi Bryant
>>>
>>>Adds a preference to control whether or not to show warnings for
>>>deprecated methods.  The preference is off by default."!
>>>
>>>
>>>------------------------------------------------------------------------
>>>
>>>
>>
>>
>>
>>
> 
> 




More information about the Squeak-dev mailing list