PythonCharmers/python-future

urllib.request.urlopen from future.backports doesn't accept data URLs

Open

#442 建立於 2019年3月18日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Python (327 fork)batch import
0.20enhancementhelp wanted

倉庫指標

Star
 (1,172 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Passing a data URL (such as "data:text/plain,hello") to urlopen raises a URLError, although this works in both Python 2.7 and Python 3.5. I'm not sure if this was added after Python 3.3 on which the backports code is based according to the source, but according to the 3.3 documentation it seems that it should have worked even in Python 3.3.

貢獻者指南