Antoine Pitrou <solip...@pitrou.net> wrote:

>Le samedi 28 janvier 2012 à 10:46 -0800, Mike Meyer a écrit :
>> Antoine Pitrou <solip...@pitrou.net> wrote:
>> >You will see people copying recipes found on the internet without
>> >knowing that they rely on unstable APIs.
>> 
>> How. About doing them the way we do depreciated modules, and have
>them
>> spit warnings to stderr?  Maybe add a flag and environment variable
>to
>> disable that.
>
>You're proposing that new experimental modules spit warnings when you
>use them?

To be explicit, when the system loada them.

> I don't think that's a good way of promoting their use :)

And importing something from __preview__or __experimental__or whatever won't? 
This thread did include the suggestion that they go into their final location 
instead of a magic module.

>(something we do want to do even though we also want to convey the idea
>that they're not yet "stable" or "fully approved")

Doing it with a message pointing at the page describing the status makes sure 
users read the docs before using them. That solves the problem of using them 
without realizing it.

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
_______________________________________________
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