Thanks to visit codestin.com
Credit goes to github.com

Skip to content

bpo-25910: Fixes redirection from http to https #4674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 6, 2017

Conversation

CuriousLearner
Copy link
Member

@CuriousLearner CuriousLearner commented Dec 2, 2017

This PR extracts changes from #1933

Currently focuses mostly on fixing link redirection from http to https.

cc @vstinner

https://bugs.python.org/issue25910

Doc/faq/gui.rst Outdated
releases, it also offers a number of features via pure Python
extensions that are not available in other language bindings. There
is an active wxPython user and developer community.
wxPython (https://www.wxpython.org) is the Python binding for wxwidgets.
Copy link
Member

Choose a reason for hiding this comment

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

Would you mind to create a link?

`wxPython <url>`_

Doc/faq/gui.rst Outdated
extensions that are not available in other language bindings. There
is an active wxPython user and developer community.
wxPython (https://www.wxpython.org) is the Python binding for wxwidgets.
While it often lags slightly behind the official wxWidgets releases, it also
Copy link
Member

Choose a reason for hiding this comment

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

@vadmium asked you to not reformat links like this, please restrict this PR to HTTPS.

Copy link
Member Author

Choose a reason for hiding this comment

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

Apologies for that. I just extracted the same old changes from the earlier patch. I'll fix this.

@@ -170,8 +170,8 @@ offender.
How do I make an executable from a Python script?
-------------------------------------------------

See http://cx-freeze.sourceforge.net/ for a distutils extension that allows you
to create console and GUI executables from Python code.
See https://anthony-tuininga.github.io/cx_Freeze/ for a distutils extension
Copy link
Member

Choose a reason for hiding this comment

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

Please create a link. You may be able to omit the url here, since it's written in a previous section (check the HTML output, I'm not sure).

`cx_Freeze`_

@@ -694,7 +694,7 @@ implementation, extension code, and this documentation:

You should have received a copy of the CC0 Public Domain Dedication along
with this software. If not, see
http://creativecommons.org/publicdomain/zero/1.0/.
https://creativecommons.org/publicdomain/zero/1.0/.
Copy link
Member

Choose a reason for hiding this comment

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

This text is a license. Is it ok to modify a license?

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure about that. Should I ask this on the bug?

Copy link
Member

Choose a reason for hiding this comment

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

I think it's ok. I take the responsability for this change ;-)

Copy link
Member Author

Choose a reason for hiding this comment

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

Alright thanks :)

:mod:`distutils` extension (see :ref:`extending-distutils`) which wraps
Python scripts into executable Windows programs (:file:`{*}.exe` files).
When you have done this, you can distribute your application without
requiring your users to install Python.
Copy link
Member

Choose a reason for hiding this comment

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

Again, please revert this change, only replace the HTTP link.

@@ -1832,8 +1832,8 @@ https://pypi.python.org/pypi/unittest2.

When used from the command line, the module can automatically discover
tests. It's not as fancy as `py.test <http://pytest.org>`__ or
`nose <http://code.google.com/p/python-nose/>`__, but provides a simple way
to run tests kept within a set of package directories. For example,
`nose <https://code.google.com/archive/p/python-nose>`__, but provides a
Copy link
Member

Choose a reason for hiding this comment

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

This link seems undated. The new home is more https://nose.readthedocs.io/ no?

Copy link
Member Author

Choose a reason for hiding this comment

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

Seems like you're right about it. The make linkcheck command showed me this as a 301. So, I updated it to point to this link.

@@ -238,8 +238,8 @@ and the ``__annotations__`` attribute.
and Guido van Rossum. Implemented by Ivan Levkivskyi.

Tools that use or will use the new syntax:
`mypy <http://github.com/python/mypy>`_,
`pytype <http://github.com/google/pytype>`_, PyCharm, etc.
`mypy <https://github.com/python/mypy>`_,
Copy link
Member

Choose a reason for hiding this comment

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

The home is more http://www.mypy-lang.org/ no?

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated.

@bedevere-bot
Copy link

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

@CuriousLearner
Copy link
Member Author

I have made the requested changes; please review again

@bedevere-bot
Copy link

Thanks for making the requested changes!

@vstinner: please review the changes made to this pull request.

Copy link
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM.

@@ -694,7 +694,7 @@ implementation, extension code, and this documentation:

You should have received a copy of the CC0 Public Domain Dedication along
with this software. If not, see
http://creativecommons.org/publicdomain/zero/1.0/.
https://creativecommons.org/publicdomain/zero/1.0/.
Copy link
Member

Choose a reason for hiding this comment

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

I think it's ok. I take the responsability for this change ;-)

@vstinner
Copy link
Member

vstinner commented Dec 6, 2017

Thanks @CuriousLearner, I merged your PR.

@CuriousLearner
Copy link
Member Author

Thanks @vstinner.

@miss-islington
Copy link
Contributor

Thanks @CuriousLearner for the PR, and @vstinner for merging it ๐ŸŒฎ๐ŸŽ‰.. I'm working now to backport this PR to: 3.6.
๐Ÿ๐Ÿ’โ›๐Ÿค–

@miss-islington
Copy link
Contributor

Sorry, @CuriousLearner and @vstinner, I could not cleanly backport this to 3.6 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 1b4587a2462fc05a14be87123083322103a1f55b 3.6

@ned-deily
Copy link
Member

Sorry, please ignore the backport to 3.6 noise!

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

Successfully merging this pull request may close these issues.

6 participants