Skip to content

Commit c18520d

Browse files
committed
Merge pull request #21 from akuchling/update3.3
Update getpython3.com for Python 3.3, Blogofile 0.8.1, various edits
2 parents cf91238 + 9fd4138 commit c18520d

11 files changed

Lines changed: 74 additions & 68 deletions

File tree

site/_templates/header.mako

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<a id="fork-me" href="http://github.com/jnoller/getpython3.com" target="_new">
44
<img
5-
src="https://a248.e.akamai.net/assets.github.com/img/abad93f42020b733148435e2cd92ce15c542d320/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67"
5+
src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"
66
alt="Fork me on GitHub">
77
</a>
88

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,32 @@
11
<h2 id="download-information" class="caps"><span>Download Information</span></h2>
2-
<p>The most current version of Python 3 is 3.2.2 - here's a list of
3-
new things:
2+
<p>The most current version of Python 3 is 3.3.2 - here's a list of
3+
new things added:
44

55
<ul>
6-
<li>numerous improvements to the unittest module</li>
7-
<li>PEP 3147, support for .pyc repository directories</li>
8-
<li>PEP 3149, support for version tagged dynamic libraries</li>
9-
<li>PEP 3148, a new futures library for concurrent programming</li>
10-
<li>PEP 384, a stable ABI for extension modules</li>
11-
<li>PEP 391, dictionary-based logging configuration</li>
12-
<li>an overhauled GIL implementation that reduces contention</li>
13-
<li>an extended email package that handles bytes messages</li>
14-
<li>a much improved ssl module with support for SSL contexts and certificate hostname matching</li>
15-
<li>a sysconfig module to access configuration information</li>
16-
<li>additions to the shutil module, among them archive file support</li>
17-
<li>many enhancements to configparser, among them mapping protocol support</li>
18-
<li>improvements to pdb, the Python debugger</li>
19-
<li>countless fixes regarding bytes/string issues; among them full support for a bytes environment (filenames, environment variables)</li>
20-
<li>many consistency and behavior fixes for numeric operations</li>
6+
<li><code>yield from</code> expression for delegating to a generator (PEP 380)
7+
<li>new library modules for LZMA compression, mock objects for unit tests,
8+
and representing IP addresses
9+
<li>the decimal type has been re-implemented in C, making it much faster
10+
<li>PEP 393, Flexible String Representation, which reduces memory usage
11+
and removes the distinction between narrow and wide builds of Python.
12+
<li>PEP 397, a Windows&reg; launcher for *.py files.
13+
<li>PEP 405, Python Virtual Environments</li>
14+
<li>PEP 3118, new implementation of the memoryview type.</li>
15+
<li>PEP 3151, reworked hierarchy of OS and I/O exceptions</li>
16+
<li>the <code>import</code> statement is now build atop the importlib module</li>
17+
<li>for easier porting to Python 3, the <code>u''</code> syntax is now accepted again</li>
18+
<li>security fix: hash randomization is now enabled by default.</li>
2119
</ul>
2220
</p>
2321

2422
<p>You can see details on what's changed by looking at the "<a
25-
href="http://docs.python.org/dev/whatsnew/3.2.html">What's New in 3.2</a>"
26-
document as well as "<a
27-
href="http://docs.python.org/release/3.0.1/whatsnew/3.0.html">What's New in
28-
3.0</a>", and the <a
29-
href="http://hg.python.org/cpython/file/v3.2.2/Misc/NEWS">change log</a>.
23+
href="http://docs.python.org/dev/whatsnew/3.3.html">What's New in 3.3</a>"
24+
document, as well as <a
25+
href="http://docs.python.org/py3k/whatsnew/">the earlier What's New articles</a>, and the <a
26+
href="http://hg.python.org/cpython/file/v3.3.0/Misc/NEWS">change log</a>.
3027
Builds are available for all major platforms, and OS X users can use <a
3128
href="http://mxcl.github.com/homebrew/">homebrew</a> via
3229
<b>"brew install python3"</b></p>
3330

34-
<p><a class="btn primary" href="http://python.org/download/releases/3.2.2/">Go Here to
31+
<p><a class="btn primary" href="http://python.org/download/releases/3.3.0/">Go Here to
3532
Download &raquo;</a></p>
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<h2 id="how-to-find-projects" class="caps"><span>How to find projects</span></h2>
2-
<p>If you are looking to help - but are not the maintainer of a module, library,
3-
etc there are various ways you can help. For example, see Brett Cannon's
2+
<p>If you are looking to help &mdash; but are not the maintainer of a module, library,
3+
etc. &mdash; there are various ways you can help. For example, see Brett Cannon's
44
"<a href="http://py3ksupport.appspot.com/">Python 3 Support on PyPI</a>" site,
5-
that lists out various projects that support, or do not support Python 3. You
6-
can always find some project there, or elsewhere that can use assistance in
5+
that lists various projects that support, or do not support Python 3. You
6+
can always find a project there that can use assistance in
77
porting.</p>
88

9-
<p>Additionally, there are threads and sites out there (such as
9+
<p>Additionally, there are threads and sites (such as
1010
<a href="https://plus.google.com/u/1/106436370949746015255/posts/SAwkyVyUhWV">
11-
Tarek's post on google+</a>) where people have come out and voted for libraries
11+
Tarek's post on google+</a>) where people have voted for libraries
1212
they need ported to Python 3 so they can in turn make the transition.</p>

site/_templates/sections/introduction.mako

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33
- this site aims to be a resource for Python 3 for developers.
44
This includes guides, videos, tutorials and other resources to
55
help you and your team achieve a successful Python 3 port of
6-
your application, library, framework or tool. Also included is
7-
information on Python Software Foundation financial grants for
8-
porting to Python 3, other significant projects working on
9-
Python 3, as well as potential information on companies willing
10-
to fund or provide grants for Python 3 porting.</p>
6+
your application, library, framework or tool. It also covers
7+
Python Software Foundation financial grants for
8+
porting to Python 3.</p>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<h2 id="notable-ports" class="caps"><span>Notable Ports</span></h2>
2-
<p>The follow libraries/projects and frameworks are notable additions to the
2+
<p>The following libraries/projects and frameworks are notable additions to the
33
Python 3 ecosystem. Some of these represent entire frameworks, while others are
44
major dependencies for other projects and tools:
55
<ul>
6-
<li><a href="http://groups.google.com/group/pylons-discuss/browse_thread/thread/ca67c7bad45fe408?hl=en_US&pli=1">Pyramid 1.3a1</a></li>
7-
<li><a href="https://groups.google.com/forum/#!topic/django-developers/XjrX3FIPT-U">Django (Development Branch)</a></li>
6+
<li><a href="http://docs.pylonsproject.org/projects/pyramid/en/1.3-branch/whatsnew-1.3.html">Pyramid 1.3</a></li>
7+
<li><a href="https://www.djangoproject.com/weblog/2012/aug/19/experimental-python-3-support/">Django (Experimental)</a></li>
88
<li><a href="http://www.makotemplates.org/">Mako Templates</a></li>
99
<li><a href="http://www.sqlalchemy.org/features.html">SQLAlchemy</a></li>
1010
<li><a href="http://www.webob.org/">Webob</a></li>
@@ -16,6 +16,6 @@ major dependencies for other projects and tools:
1616
<li><a href="http://python-requests.org">requests</a></li>
1717
</ul>
1818
You can see a semi-complete list of <a
19-
href="http://pypi.python.org/pypi?:action=browse&c=533&show=all">all Python 3 supporing packages on PyPi
19+
href="http://pypi.python.org/pypi?:action=browse&c=533&show=all">all Python 3 supporting packages on PyPi
2020
here</a>.
2121
</p>

site/_templates/sections/resources.mako

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h2 id="resources" class="caps"><span>Resources</span></h2>
2-
<p>There is a wealth of information out there on Porting to, and about
3-
Python 3. There is an entire mailing list (<a href="http://mail.python.org/mailman/listinfo/python-porting">python-porting</a>)
2+
<p>There is a wealth of information out there about Python 3 and porting to it.
3+
There is an entire mailing list (<a href="http://mail.python.org/mailman/listinfo/python-porting">python-porting</a>)
44
dedicated to helping people port things to Python 3 - developers
55
experienced in porting should join up, and there is already a good
66
team there to help support you.</p>
@@ -20,8 +20,8 @@ team there to help support you.</p>
2020
<div class="span6">
2121
<h3>Python 3 Overviews</h3>
2222
<ul>
23-
<li><a href="http://docs.python.org/release/3.0.1/whatsnew/3.0.html">What's New in Python 3</a></li>
24-
<li><a href="http://www.linuxjournal.com/content/python-python-python-aka-python-3">Python Python Python (aka Python 3)</a></li>
23+
<li><a href="http://docs.python.org/release/3.0.1/whatsnew/3.0.html">What's New in Python 3.0</a></li>
24+
<li><a href="http://www.linuxjournal.com/content/python-python-python-aka-python-3">Linux Journal: Python Python Python (aka Python 3)</a></li>
2525
</ul>
2626
</div>
2727
</div>

site/_templates/sections/support.mako

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<h2 id="financial-support" class="caps"><span>Financial support</span></h2>
22

3-
<p>In short: <b>yes</b> - there's a bevy of information, videos and
4-
blog posts out there that can help you on your way. Python 3 is
3+
<p>Python 3 is
54
the future of the Python language, and entities such as the Python
65
Software Foundation strongly believe in supporting the porting effort.
76
</p>
Lines changed: 29 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,48 @@
11
<h2 id="what-is-python-3" class="caps"><span>What is Python 3?</span></h2>
22

3-
<p>Short version: Although most Python code is written for Python
3+
<h3>Short summary</h3>
4+
5+
<p>Although most Python code is currently written for Python
46
2.x, Python 3.x is the present and future of the language.</p>
57

6-
<p>At the time of writing (Sept 28, 2011), the final 2.7 release
7-
is out, with a statement of extended support for this end-of-life
8-
release. The 2.x branch will see no new major releases after that.
9-
3.x is under active development and has already seen stable
10-
releases, such as the recent 3.2. This means that all recent
11-
standard library improvements, for example, are only available
12-
in Python 3.x.</p>
8+
<p>Python 2.7.3 was released in April 2012.
9+
The 2.x branch will have no further major releases,
10+
though this end-of-life release will have an extended period of bug
11+
and security fixes.
12+
13+
<p>Python 3.x continues to be actively developed and has already seen stable
14+
releases. The most recent is Python 3.3, released in September
15+
2012. This means that all recent standard library improvements, for
16+
example, are only available in Python 3.x.</p>
17+
18+
<h3>Detailed discussion</h3>
1319

1420
<p>Guido van Rossum (the original creator of the Python language),
15-
in conjunction with other python-core developers decided to
16-
clean up Python 2.x properly, with less regard for backwards
17-
compatibility than is the case for new releases in the 2.x range.
18-
The most drastic improvement is the better unicode support (with
19-
all text strings being unicode by default) as well as saner
21+
in conjunction with other python-core developers decided to use Python 3.x to
22+
clean up Python 2.x. Python 2.x releases were careful to preserve backwards
23+
compatibility with older versions, but Python 3.x was freed of this requirement.
24+
The most drastic improvement is better Unicode support (with
25+
all text strings being Unicode by default) as well as saner
2026
bytes/unicode separation.</p>
2127

22-
<p>Besides, several aspects of the core language (such as print
23-
and exec being statements, integers using floor division) have been
28+
<p>Several other aspects of the core language (such as <code>print</code>
29+
and <code>exec</code> being statements, integers using floor division) were
2430
adjusted to be easier for newcomers to learn and to be more consistent
2531
with the rest of the language, and old cruft has been removed (for
26-
example, all classes are now new-style, range() returns a memory
27-
efficient iterable, not a list as in 2.x).</p>
32+
example, all classes are now new-style, <code>range()</code> returns a memory
33+
efficient iterable and not a list as in 2.x).</p>
2834

2935
<p>The <a href="http://docs.python.org/py3k/whatsnew/3.0.html">
3036
What's New in Python 3.0</a> document provides a good overview of the
3137
major language changes and likely sources of incompatibility with
3238
existing Python 2.x code.</p>
3339

40+
<p>The <a href="http://docs.python.org/dev/whatsnew/3.1.html">What's
41+
New in Python 3.1</a>,
42+
<a href="http://docs.python.org/dev/whatsnew/3.2.html">Python 3.2</a>,
43+
and <a href="http://docs.python.org/dev/whatsnew/3.3.html">Python 3.3</a>
44+
documents describes the new features added to each Python 3 release.</p>
45+
3446
<p>Cribbed from <a href="http://wiki.python.org/moin/Python2orPython3"
3547
target="_blank">Python2orPython3</a> on the Python wiki.</p>
3648

site/_templates/topbar.mako

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
<li class="active"><a href="#overview">Introduction</a></li>
66
<li><a href="#what-is-python-3">What is Python 3?</a></li>
77
<li><a href="#download-information">Download</a></li>
8+
<li><a href="#resources">Resources</a></li>
89
<li><a href="#notable-ports">Notable Ports</a></li>
9-
<li><a href="#financial-support">Financial Support</a></li>
1010
<li><a href="#how-to-find-projects">Find Projects</a></li>
11-
<li><a href="#resources">Resources</a></li>
11+
<li><a href="#financial-support">Financial Support</a></li>
1212
</ul>
1313
</div>
1414
</div><!-- /topbar-inner -->

0 commit comments

Comments
 (0)