Author petr.viktorin
Recipients berker.peksag, christian.heimes, doko, lemburg, lukasz.langa, mbussonn, ned.deily, petr.viktorin, rb, serhiy.storchaka, vstinner, yan12125
Date 2018-10-08.12:58:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1539003532.86.0.545547206417.issue28167@psf.upfronthosting.co.za>
In-reply-to
Content
> I wasn't aware that starting out with a PyPI module is the only accepted process for getting functionality into stdlib.

It's the main way things should get in. (Other ways exist, for example, dataclasses were added as simplification/merging of several existing libraries.)

> That certainly is a lot of work for what would be a trivial handful of lines to parse key/value pairs and handle error paths, etc (and corresponding tests of course).

Releasing on PyPI is trivial once you have the tests and documentation. I'll be glad to help with that.


> IMHO, forcing the PyPI route seems like a recipe for scope creep to me in this case.

Not necessarily. You just need to carefully define the scope of the PyPI module – same as you would for the stdlib module. There's not much difference between stdlib and PyPI here:
after all, I'd argue the main reason platform.linux_distribution() was removed is that its scope was too wide to be maintainable.

> The cost of adding Yet Another Dependency has to be paid in either case.

Indeed. But it will be hard to get in otherwise.

BTW, another way a PyPI release help is that the functionality would be useful for previous versions of Python. At this point new features are targetting Python 3.8.
So, even if this does get into stdlib, a backport on PyPI would still be useful. Consider prior art like:
https://pypi.org/project/dataclasses/
https://pypi.org/project/asyncio/
History
Date User Action Args
2018-10-08 12:58:52petr.viktorinsetrecipients: + petr.viktorin, lemburg, doko, vstinner, christian.heimes, ned.deily, rb, lukasz.langa, berker.peksag, serhiy.storchaka, mbussonn, yan12125
2018-10-08 12:58:52petr.viktorinsetmessageid: <1539003532.86.0.545547206417.issue28167@psf.upfronthosting.co.za>
2018-10-08 12:58:52petr.viktorinlinkissue28167 messages
2018-10-08 12:58:52petr.viktorincreate