◐ Shell
reader mode source ↗
Skip to content

bpo-36345: Include the code from Tools/scripts/serve.py for the wsgiref-base web server example#12562

Merged
matrixise merged 7 commits into
python:masterfrom
matrixise:bpo-36345-part-3
Apr 16, 2019
Merged

bpo-36345: Include the code from Tools/scripts/serve.py for the wsgiref-base web server example#12562
matrixise merged 7 commits into
python:masterfrom
matrixise:bpo-36345-part-3

Conversation

@matrixise

@matrixise matrixise commented Mar 26, 2019

Copy link
Copy Markdown
Member

In this PR, I include the code from Tools/scripts/serve.py file but I don't touch the code of the script, just keep it intact because it's not the role of this PR.

https://bugs.python.org/issue36345

@bedevere-bot bedevere-bot added the docs Documentation in the Doc dir label Mar 26, 2019
@matrixise

Copy link
Copy Markdown
Member Author

@vstinner feel free to review this PR. Thank you so much

@vstinner

Copy link
Copy Markdown
Member

make check suspicious html SPHINXOPTS="-q -W -j4" failed with the following error on Travis CI:

Warning, treated as error:
[whatsnew/changelog:28] ".. literalinclude:" found in ".. literalinclude::"

I'm not sure why literalinclude is seen as an error?

@JulienPalard: Any idea?

@matrixise

Copy link
Copy Markdown
Member Author

@JulienPalard @vstinner ?

I have made the requested changes; please review again

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

: please review the changes made to this pull request.

@matrixise

matrixise commented Apr 15, 2019 via email

Copy link
Copy Markdown
Member Author

@matrixise

Copy link
Copy Markdown
Member Author

I have made the requested changes; please review again

@bedevere-bot

Copy link
Copy Markdown

Thanks for making the requested changes!

: please review the changes made to this pull request.

@vstinner vstinner left a comment

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.

Hide comment

When I tested the example, it wasn't obvious to me how to access the server.

Maybe the script should display somehow the URL http://localhost:8000/?

@matrixise

matrixise commented Apr 15, 2019 via email

Copy link
Copy Markdown
Member Author

@vstinner vstinner left a comment

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.

Hide comment

LGTM. You can merge it once you will be able to merge changes ;-)

@matrixise matrixise merged commit 2b7f93b into python:master Apr 16, 2019
@matrixise matrixise deleted the bpo-36345-part-3 branch April 16, 2019 12:57

@berkerpeksag berkerpeksag left a comment

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.

Hide comment

Two things:

  1. Only big documentation changes require a NEWS entry.
  2. We only attribute contributors in NEWS entries. It's OK to add your name to Doc/whatsnew/X.Y.rst even if you're a core developer, though.

@vstinner

Copy link
Copy Markdown
Member

Only big documentation changes require a NEWS entry.

I'm wasn't sure on that point. In case of doubt, I said nothing :-)

We only attribute contributors in NEWS entries. It's OK to add your name to Doc/whatsnew/X.Y.rst even if you're a core developer, though.

Well, Stéphane wrote this PR before he was a core dev :-)

@matrixise

Copy link
Copy Markdown
Member Author

@berkerpeksag Thank you for your advice, which I will use next time.

@berkerpeksag

Copy link
Copy Markdown
Member

Well, Stéphane wrote this PR before he was a core dev :-)

I'm not sure how that is an argument here? It could be easily noticed and fixed before merging the PR.

@matrixise welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants