[prev in list] [next in list] [prev in thread] [next in thread]
List: python-dev
Subject: Re: [Python-Dev] PEP 408 -- Standard library __preview__ package
From: Mike Meyer <mwm () mired ! org>
Date: 2012-01-28 21:49:52
Message-ID: a98d0964-8eaf-4ebd-bed2-96c70d6b1521 () email ! android ! com
[Download RAW message or body]
Antoine Pitrou <solipsis@pitrou.net> wrote:
> Le samedi 28 janvier 2012 à 10:46 -0800, Mike Meyer a écrit :
> > Antoine Pitrou <solipsis@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/python-dev%40progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic