Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit802aa1e

Browse files
authored
Update Windows download popup and list for 3.9. (python#1611) (python#1655)
1 parentc28c19a commit802aa1e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

‎templates/downloads/os_list.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,12 @@ <h2>Stable Releases</h2>
3838
{% for r in releases %}
3939
<li>
4040
<ahref="{{ r.get_absolute_url }}">{{ r.name }} - {{ r.release_date|date }}</a>
41-
{% if os.slug == 'windows' and r.name>= 'Python 3.5' %}
42-
<p><strong>Note that {{ r.name }}<em>cannot</em> be used on Windows XP or earlier.</strong></p>
41+
{% if os.slug == 'windows' %}
42+
{% if r.name>= 'Python 3.9' %}
43+
<p><strong>Note that {{ r.name }}<em>cannot</em> be used on Windows 7 or earlier.</strong></p>
44+
{% elif r.name>= 'Python 3.5' %}
45+
<p><strong>Note that {{ r.name }}<em>cannot</em> be used on Windows XP or earlier.</strong></p>
46+
{% endif %}
4347
{% endif %}
4448
<ul>
4549
{% for f in r.files.all %}

‎templates/downloads/supernav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ <h4>Download for {{ data.os.name }}</h4>
1010
<p>
1111
<aclass="button"href="{{ data.python3.url }}">{{ data.python3.release.name }}</a>
1212
</p>
13-
{% if data.os.slug == 'windows' %}<p><strong>Note that Python 3.5+<em>cannot</em> be used on WindowsXP or earlier.</strong></p>{% endif %}
13+
{% if data.os.slug == 'windows' %}<p><strong>Note that Python 3.9+<em>cannot</em> be used on Windows7 or earlier.</strong></p>{% endif %}
1414
<p>Not the OS you are looking for? Python can be used on many operating systems and environments.<ahref="{% url 'download:download' %}">View the full list of downloads</a>.</p>
1515
</div>
1616
{% endfor %}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp