This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tom.pohl
Recipients tom.pohl
Date 2021-10-14.06:15:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634192112.29.0.508125660114.issue45466@roundup.psfhosted.org>
In-reply-to
Content
In the context of building Docker images, it is often required to download stuff. If curl/wget are available, great, but often slim images don't offer that.

The urllib could provide a very simple download functionality (like http offers a simple server):

    from urllib.request import urlopen
    data = urlopen('https://.../install-poetry.py').read()
    # print or save data

If there's some interest, I could open a PR.
History
Date User Action Args
2021-10-14 06:15:12tom.pohlsetrecipients: + tom.pohl
2021-10-14 06:15:12tom.pohlsetmessageid: <1634192112.29.0.508125660114.issue45466@roundup.psfhosted.org>
2021-10-14 06:15:12tom.pohllinkissue45466 messages
2021-10-14 06:15:12tom.pohlcreate