| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Stop converting Windows drive letters to uppercase in `urllib.request.pathname2url()` and `url2pathname()`. This behaviour is unnecessary and inconsistent with pathlib's file URI implementation.
There was a problem hiding this comment.
The RFC also says that case should be preserved up until it's being processed by the file system, so we shouldn't be changing it here. (I still wouldn't backport this change, due to the trivial impact apart from breaking anyone who wrote a case-sensitive test that currently passes!)
Sorry, something went wrong.
|
Agreed! And thanks for the review. |
Sorry, something went wrong.
…hon#127138) Stop converting Windows drive letters to uppercase in `urllib.request.pathname2url()` and `url2pathname()`. This behaviour is unnecessary and inconsistent with pathlib's file URI implementation.
| Back | FazBrowse Home | New Git URL |
Stop converting Windows drive letters to uppercase in urllib.request.pathname2url() and url2pathname(). This behaviour is unexpected and inconsistent with pathlib's file URI implementation.
📚 Documentation preview 📚: https://cpython-previews--127138.org.readthedocs.build/