- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | oulenz |
|---|---|
| Recipients | agnosticdev, oulenz |
| Date | 2018-03-30.17:22:57 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1522430577.89.0.467229070634.issue33181@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
That would definitely take the sting out of that permanent redirect. But I am still wondering why we redirect at all. Why not leave redirects to the user and do:
if os.path.isdir(path):
if not path.endswith('/'):
path = path + '/'
for index in "index.html", "index.htm":
index = os.path.join(path, index)
if os.path.exists(index):
path = index
break |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2018-03-30 17:22:57 | oulenz | set | recipients: + oulenz, agnosticdev |
| 2018-03-30 17:22:57 | oulenz | set | messageid: <1522430577.89.0.467229070634.issue33181@psf.upfronthosting.co.za> |
| 2018-03-30 17:22:57 | oulenz | link | issue33181 messages |
| 2018-03-30 17:22:57 | oulenz | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
