Url starting with file:\\ no longer works in urllib since 3.14
オープン
@serhiy-storchaka がすでに取り組んでいます。
2026年8月25日 から。
stdlib
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 35.9k
- PR マージ指標
- PR 指標を取得中
説明
Bug report
Bug description:
from urllib.request import urlopen
with urlopen("file:\\C:/temp/test.txt") as response:
print(response.read())
That works in python 313 but fails in 314
Just checking if it's intended change? This resulted failure when upgrading 313->314
Same url works in webbrowser, Firefox, Edge, in Windows 11
CPython versions tested on:
3.14
Operating systems tested on:
Windows
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。