<> and DeprecationWarning

Barry Warsaw barry at python.org
Mon Oct 20 15:41:23 EDT 2003


On Mon, 2003-10-20 at 15:09, Alex Martelli wrote:
> Barry Warsaw wrote:
> 
> > On Mon, 2003-10-20 at 13:59, Erik Max Francis wrote:
> > 
> >> Now comes the argument over whether _obsolescent_ and _deprecated_ are
> >> synonymous in this context :-).
> > 
> > Technically, I'd say they aren't because <> constructs don't generate
> > deprecation warnings.
> 
> So let's introduce obsolescence warnings...!-)

class
SilentPendingMisguidedObsolescenceSuggestion(PendingDeprecationWarning):
    pass

:)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part
URL: <http://mail.python.org/pipermail/python-list/attachments/20031020/581cac57/attachment.sig>


More information about the Python-list mailing list