osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] Adding a toml module to the standard lib?


H Bastian,

IMHO we should wait until the format reach version 1.0, since the
stdlib has a slow release cycle (one release every 18 months). Too
slow for a "fast moving" standard.

In the meanwhile, I'm sure setuptools and pip will manage to install a
toml parser/generator for their needs, as they already do :-)

Victor

Le mer. 15 mai 2019 ? 12:50, Bastian Venthur <venthur at debian.org> a ?crit :
>
> On 15.05.19 11:33, Antoine Pitrou wrote:
> > How stable is the TOML format?  Is it bound to change significantly in
> > the coming years?
> >
> > If the format is stable enough, then I think it's a good idea.
>
>
> The last update to the spec [1] was 10 months ago and added a few
> features. The version before that was stable for more than 3 years. It
> is also worth noting that he writes about the current version [2]:
>
> "As of version 0.5.0, TOML should be considered extremely stable. The
> goal is for version 1.0.0 to be backwards compatible (as much as humanly
> possible) with version 0.5.0. All implementations are strongly
> encouraged to become 0.5.0 compatible so that the transition to 1.0.0
> will be simple when that happens."
>
> That is of course no guarantee, but maybe the best we can hope for.
>
>
> Cheers,
>
> Bastian
>
>
> [1]: https://github.com/toml-lang/toml/releases
> [2]: https://github.com/toml-lang/toml
>
>
> --
> Dr. Bastian Venthur                                  http://venthur.de
> Debian Developer                                 venthur at debian org
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/vstinner%40redhat.com



-- 
Night gathers, and now my watch begins. It shall not end until my death.