[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Ned Deily

Changes by Ned Deily :


--
resolution:  -> fixed
stage: commit review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Ned Deily

Ned Deily added the comment:


New changeset 6f95b37f290e0225aed5f8f7733ad0730601201b by Ned Deily (cocoatomo) 
in branch '2.7':
bpo-29888: Fix the link referring to "Python download page" (GH-823)
https://github.com/python/cpython/commit/6f95b37f290e0225aed5f8f7733ad0730601201b


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Kinebuchi Tomohiko

Kinebuchi Tomohiko added the comment:

@ned.deily Thank you for the commend. I updated the 2.7 PR.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Ned Deily

Ned Deily added the comment:

Thanks for the pull requests!  I've merged to master, 3.6, and 3.5 and I left a 
comment for the 2.7 PR.  By the way, next time you make a PR, please feel free 
to add your name to Misc/ACKS.

--
stage:  -> commit review
versions: +Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Ned Deily

Ned Deily added the comment:


New changeset 8ce3085bf167b702989a9db466078b5676e825e3 by Ned Deily in branch 
'3.5':
bpo-29888: Fix the link referring to the "Python download page" (GH-824) 
(GH-827)
https://github.com/python/cpython/commit/8ce3085bf167b702989a9db466078b5676e825e3


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Ned Deily

Ned Deily added the comment:


New changeset ceff32fb833e7be42508ffa73344e2e56865e54b by Ned Deily in branch 
'3.6':
bpo-29888: Fix the link referring to the "Python download page" (GH-824) 
(GH-826)
https://github.com/python/cpython/commit/ceff32fb833e7be42508ffa73344e2e56865e54b


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Ned Deily

Changes by Ned Deily :


--
pull_requests: +733

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Ned Deily

Changes by Ned Deily :


--
pull_requests: +732

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Ned Deily

Ned Deily added the comment:


New changeset f8beb9831acd5cf80b9c56aea5864e16118c5400 by Ned Deily (cocoatomo) 
in branch 'master':
bpo-29888: Fix the link referring to the "Python download page" (GH-824)
https://github.com/python/cpython/commit/f8beb9831acd5cf80b9c56aea5864e16118c5400


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Kinebuchi Tomohiko

Kinebuchi Tomohiko added the comment:

I just created two pull requests.

+ PR for 2.7 -> https://github.com/python/cpython/pull/823
+ PR for 3.5 or newer -> https://github.com/python/cpython/pull/824

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Kinebuchi Tomohiko

Changes by Kinebuchi Tomohiko :


--
pull_requests: +730

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Kinebuchi Tomohiko

Changes by Kinebuchi Tomohiko :


--
pull_requests: +728

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-26 Thread Kinebuchi Tomohiko

Changes by Kinebuchi Tomohiko :


--
pull_requests: +726

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-24 Thread Ned Deily

Ned Deily added the comment:

Thanks for noticing this.  The change in URLs was due to the introduction of 
the "new" python.org website a few years ago;  the canonical form of the URL 
for releases introduced after the move to the new web site is indeed  
https://www.python.org/downloads/release/python-xyz/ so that should be the URL 
form used for current and future releases.  Another approach would be to add 
aliases on the web site to redirect from /releases/x.y.z to 
/release/python-xyz/ but, at this point, I don't think that's necessary.  A PR 
to fix the generated docs would be great.

--
nosy: +ned.deily

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-24 Thread Kinebuchi Tomohiko

Kinebuchi Tomohiko added the comment:

According to the table on the Downloads page [1]_, relations between Python 
versions and version specific release pages are listed as follows:

   2.7.0  -> https://www.python.org/download/releases/2.7/
   2.7.1  -> https://www.python.org/download/releases/2.7.1/
   2.7.2  -> https://www.python.org/download/releases/2.7.2/
   2.7.3  -> https://www.python.org/download/releases/2.7.3/
   2.7.4  -> https://www.python.org/download/releases/2.7.4/
   2.7.5  -> https://www.python.org/download/releases/2.7.5/
   2.7.6  -> https://www.python.org/download/releases/2.7.6/
   2.7.7  -> https://www.python.org/download/releases/2.7.7/
   2.7.8  -> https://www.python.org/downloads/release/python-278/
   2.7.9  -> https://www.python.org/downloads/release/python-279/
   2.7.10 -> https://www.python.org/downloads/release/python-2710/
   2.7.11 -> https://www.python.org/downloads/release/python-2711/
   2.7.12 -> https://www.python.org/downloads/release/python-2712/
   2.7.13 -> https://www.python.org/downloads/release/python-2713/

   3.0.0  -> https://www.python.org/download/releases/3.0/
   3.0.1  -> https://www.python.org/download/releases/3.0.1/

   3.1.0  -> https://www.python.org/download/releases/3.1/
   3.1.1  -> https://www.python.org/download/releases/3.1.1/
   3.1.2  -> https://www.python.org/download/releases/3.1.2/
   3.1.3  -> https://www.python.org/download/releases/3.1.3/
   3.1.4  -> https://www.python.org/download/releases/3.1.4/
   3.1.5  -> https://www.python.org/downloads/release/python-315/

   3.2.0  -> https://www.python.org/download/releases/3.2/
   3.2.1  -> https://www.python.org/download/releases/3.2.1/
   3.2.2  -> https://www.python.org/download/releases/3.2.2/
   3.2.3  -> https://www.python.org/download/releases/3.2.3/
   3.2.4  -> https://www.python.org/download/releases/3.2.4/
   3.2.5  -> https://www.python.org/download/releases/3.2.5/
   3.2.6  -> https://www.python.org/downloads/release/python-326/

   3.3.0  -> https://www.python.org/download/releases/3.3.0/
   3.3.1  -> https://www.python.org/download/releases/3.3.1/
   3.3.2  -> https://www.python.org/download/releases/3.3.2/
   3.3.3  -> https://www.python.org/download/releases/3.3.3/
   3.3.4  -> https://www.python.org/download/releases/3.3.4/
   3.3.5  -> https://www.python.org/download/releases/3.3.5/
   3.3.6  -> https://www.python.org/downloads/release/python-336/

   3.4.0  -> https://www.python.org/download/releases/3.4.0/
   3.4.1  -> https://www.python.org/downloads/release/python-341/
   3.4.2  -> https://www.python.org/downloads/release/python-342/
   3.4.3  -> https://www.python.org/downloads/release/python-343/
   3.4.4  -> https://www.python.org/downloads/release/python-344/
   3.4.5  -> https://www.python.org/downloads/release/python-345/
   3.4.6  -> https://www.python.org/downloads/release/python-346/

   3.5.0  -> https://www.python.org/downloads/release/python-350/
   3.5.1  -> https://www.python.org/downloads/release/python-351/
   3.5.2  -> https://www.python.org/downloads/release/python-352/
   3.5.3  -> https://www.python.org/downloads/release/python-353/

   3.6.0  -> https://www.python.org/downloads/release/python-360/
   3.6.1  -> https://www.python.org/downloads/release/python-361/


.. [1] https://www.python.org/downloads/

I will create a pull request for Python 2.7, 3.5 and 3.6.

--
versions: +Python 3.5, Python 3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue29888] The link referring to "Python download page" is broken

2017-03-23 Thread Kinebuchi Tomohiko

New submission from Kinebuchi Tomohiko:

The download page [1]_ contains a link intended to refer to the release page of 
the corresponding Python version [2]_.

.. [1] `Download Python 2.7.13 Documentation 
`_

.. [2] e.g. `Python 2.7.8 Release 
`_

Although, this link is broken for three reasons.

1. Wrong template syntax

   `Present code 
`_::

  {% trans download_page="https://www.python.org/download/releases/{{ 
release[:5] }}/" %}HTML Help
  (.chm) files are made available in the "Windows" section
  on the Python download page.{% endtrans 
%}

   Fixed code::

  {% trans download_page="https://www.python.org/download/releases/; + 
release[:5] + "/" %}HTML Help
  (.chm) files are made available in the "Windows" section
  on the Python download page.{% endtrans 
%}

2. Unexpected version number

   The URL contains a Python version string (i.e. ``release[:5]``), but for 
Python 2.7.13, ``release[:5]`` evaluates to ``'2.7.1'`` which obviously wrong 
as a version string.

3. Non-existent release pages for some versions

   www.python.org has pages which URLs are 
https://www.python.org/download/releases// with  = 2.7.1--8, 
although has no pages with  = 2.7.9 and so on.

   Is https://www.python.org/downloads/release/python-2713/ an appropriate page 
to refer?

--
assignee: docs@python
components: Documentation
messages: 290057
nosy: cocoatomo, docs@python
priority: normal
severity: normal
status: open
title: The link referring to "Python download page" is broken
versions: Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com