[Python-ideas] Add from __experimental__ import bla [was: Should we move to replace re with regex?]

Antoine Pitrou solipsis at pitrou.net
Wed Aug 31 18:56:35 CEST 2011

On Wed, 31 Aug 2011 09:31:46 -0700
Guido van Rossum <guido at python.org> wrote:
> > If we had this built-in, then including ipaddr in the stdlib as it currently
> > stands would be a no-brainer, even with a suboptimal API.  It would get lots
> > of testing, and a completely different API could be designed for Python 3.4
> > without break packages that relied on the old API.  Python's deprecation
> > policy could be adjusted to include diminishing support for older versions of
> > a module in the stdlib, and we'd avoid ugliness like unittest2 and such.
> You sound like you have a solution for using multiple versions of an
> API in the same program. Do you? Then out with it! Otherwise, no, it
> wouldn't be a no-brainer.

But couldn't __experimental__ also mean we don't guarantee API
stability (until the module leaves the __experimental__ namespace)?



More information about the Python-ideas mailing list