On Saturday 30 July 2005 22:20, Brett Cannon wrote:
 > True, but the hierarchy should still properly reflect increasing
 > severity in my opinion.  I am going to push for this; we will see if I
 > get pushed back enough to not do it.

I have no idea what you mean by "properly reflect increasing severity".  
Should the more severe or less severe case be derived from the other?  I 
doubt there is a single answer that we can readily agree on.

If DeprecationWarning and PendingDeprecationWarning need a class-hierarchy 
relationship (and I think they do; it *is* reasonable for someone to deal 
with them generically if they can reasonably want to deal with either), then 
it seems they need a common base:

  +--AnyDeprecationWarning
     +--DeprecationWarning
     +--PendingDeprecationWarning


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to