[Python-Dev] getting stable URLs for major.minor versions

Brett Cannon brett at python.org
Thu Jan 27 22:57:24 CET 2011


On Thu, Jan 27, 2011 at 13:54, "Martin v. Löwis" <martin at v.loewis.de> wrote:
> Am 27.01.2011 21:38, schrieb Brett Cannon:
>> Because of all the writing I have been doing lately, I have been
>> pulling up a lot of URLs pointing to various Python releases based
>> around minor versions (e.g., Python 2.7, not specifically 2.7.1). What
>> has been somewhat annoying is that there are no URLs which act as a
>> redirect to the latest release of a minor version. For instance, it
>> would be great if http://www.python.org/2.7 redirected to the Python
>> 2.7.1 page.
>
> The tradition is that /X.Y actually points to download/releases/X.Y.
> These redirects haven't been added for 2.7, but are present for all
> earlier releases, and 3.1. So unless there are strong objections,
> I'll add the missing redirects soon.

That would be great. Keeping bumping up against the missing 2.7 redirect.

>
>> Get the ball rolling, I say we make http://www.python.org/version/2.7
>> and http://www.python.org/version/2 redirect to the 2.7.1 release
>> page, etc. Personally I would rather have http://www.python.org/2.7
>> redirect to 2.7.1, but since that already redirects to 2.7.0 I doubt
>> people would be okay with the change.
>
> How about http://www.python.org/2.7.x redirecting to the latest 2.7.x
> release? Likewise 2.x and 3.x.

Works for me! Short and elegant.


More information about the Python-Dev mailing list