This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients dstufft, gvanrossum, hawkowl, ncoghlan, r.david.murray, serhiy.storchaka
Date 2017-10-10.13:20:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1507641644.08.0.213398074469.issue31742@psf.upfronthosting.co.za>
In-reply-to
Content
A note regarding *only* using the warnings module to turn things off:

The problem I have with that is that the UX is relatively clumsy, and hence runs into the concern Guido mentions above: "having this warning pop up every time you import a provisional module while developing code feels like harassment of the very users we'd like to try out the provisional APIs."

By contrast, "To rely on this provisional feature without getting a runtime FutureWarning, set this application level feature flag in your __main__ module" feels like exactly the right level of affirmative agreement to me - the equivalent of clicking through a confirmation dialog, or ticking an "I agree" check box on a form.

Libraries registering that agreement on behalf of their users would then always be inappropriate, while whether or not it was appropriate for a framework to do it would depend on the framework and the feature.
History
Date User Action Args
2017-10-10 13:20:44ncoghlansetrecipients: + ncoghlan, gvanrossum, r.david.murray, serhiy.storchaka, dstufft, hawkowl
2017-10-10 13:20:44ncoghlansetmessageid: <1507641644.08.0.213398074469.issue31742@psf.upfronthosting.co.za>
2017-10-10 13:20:44ncoghlanlinkissue31742 messages
2017-10-10 13:20:44ncoghlancreate