FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-34711: Fix test_httpservers for AIX (trailingSlashOK) by aixtools · Pull Request #9675 · python/cpython · GitHub

Repository navigation

bpo-34711: Fix test_httpservers for AIX (trailingSlashOK) - #9675

Closed
aixtools wants to merge 1 commit into
python:masterfrom
aixtools:bpo-34711
Closed

aixtools wants to merge 1 commit into
python:masterfrom
aixtools:bpo-34711

Conversation

aixtools commented Oct 2, 2018 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

# Some OS accept trailingSlash as part of a filename
# https://bugs.python.org/issue34711#msg325532 mentions Windows sometimes accepts a trailingSlash
# so more work could be done
trailingSlashOK = platform.system() in ('AIX')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Probably should use a literal set here. If you meant to use a tuple, you forgot the trailing comma. So, I suggest in {'AIX'} instead.

# Some OS accept trailingSlash as part of a filename
# https://bugs.python.org/issue34711#msg325532 mentions Windows sometimes accepts a trailingSlash
# so more work could be done
trailingSlashOK = platform.system() in ('AIX')

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This is a string, not a one-element tuple.

Equality test may be clearer (and simple to change if needed).

aixtools commented Oct 3, 2018

Copy link
Copy Markdown
Contributor Author

Closing. Per discussion in python-bugs (https://bugs.python.org/issue34711) shall address this issue in Lib/http/server.py

aixtools closed this Oct 3, 2018
aixtools deleted the bpo-34711 branch October 3, 2018 08:52

aixtools commented Oct 5, 2018 via email

Copy link
Copy Markdown
Contributor Author

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL