[Python-Dev] PEP 411: Provisional packages in the Python standard library

Toshio Kuratomi a.badger at gmail.com
Sat Feb 11 17:22:21 CET 2012


On Sat, Feb 11, 2012 at 04:32:56PM +1000, Nick Coghlan wrote:
> 
> This would then be seen by pydoc and help(), as well as being amenable
> to programmatic inspection.
> 
Would using
    warnings.warn('This is a provisional API and may change radically from'
            ' release to release', ProvisionalWarning)

where ProvisionalWarning is a new exception/warning category (a subclaass of
FutureWarning?) be considered too intrusive?

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-dev/attachments/20120211/a02c9eeb/attachment.pgp>


More information about the Python-Dev mailing list