[RELEASED] Python 2.7.1

B

Benjamin Peterson

On behalf of the Python development team, I'm happy as a clam to announce the
immediate availability of Python 2.7.1.

2.7 includes many features that were first released in Python 3.1. The faster io
module, the new nested with statement syntax, improved float repr, set literals,
dictionary views, and the memoryview object have been backported from 3.1. Other
features include an ordered dictionary implementation, unittests improvements, a
new sysconfig module, auto-numbering of fields in the str/unicode format method,
and support for ttk Tile in Tkinter. For a more extensive list of changes in
2.7, see http://doc.python.org/dev/whatsnew/2.7.html or Misc/NEWS in the Python
distribution.

To download Python 2.7.1 visit:

http://www.python.org/download/releases/2.7.1/

The 2.7.1 changelog is at:

http://svn.python.org/projects/python/tags/r271/Misc/NEWS

2.7 documentation can be found at:

http://docs.python.org/2.7/

This is a production release. Please report any bugs you find to the bug
tracker:

http://bugs.python.org/


Enjoy!
 
K

Kent Johnson

On behalf of the Python development team, I'm happy as a clam to announce the
immediate availability of Python 2.7.1.

Will there be Mac binaries for 2.7.1 and 3.1.3? Currently the web site
shows only source and Windows binaries.

Thanks,
Kent
 
T

Terry Reedy

Will there be Mac binaries for 2.7.1 and 3.1.3? Currently the web site
shows only source and Windows binaries.

I presume yes. Mac binaries typically trail each release. They are done
by a different volunteer.
 
S

Spider

2.7 includes many features that were first released in Python 3.1. The faster io module ...

I understand that I/O in Python 3.0 was slower than 2.x (due to quite
a lot of the code being in Python rather than C, I gather), and that
this was fixed up in 3.1. So, io in 3.1 is faster than in 3.0.

Is it also true that io is faster in 2.7 than 2.6? That's what the
release notes imply, but I wonder whether that comment has been back-
ported from the 3.1 release notes, and doesn't actually apply to 2.7.

Of course, I probably should benchmark it, but if someone who knows
the history of the io module can respond, that would be great. My
specific interest is in file read/write speeds.

Thanks
 
A

Antoine Pitrou

I understand that I/O in Python 3.0 was slower than 2.x (due to quite
a lot of the code being in Python rather than C, I gather), and that
this was fixed up in 3.1. So, io in 3.1 is faster than in 3.0.

Is it also true that io is faster in 2.7 than 2.6? That's what the
release notes imply, but I wonder whether that comment has been back-
ported from the 3.1 release notes, and doesn't actually apply to 2.7.

The `io` module, which was backported from 3.1/3.2, is faster than in
2.6, but that's not what is used by default in 2.x when calling e.g.
open() or file() (you'd have to use io.open() instead).

So, as you suspect, the speed of I/O in 2.7 hasn't changed. The `io`
module is available in 2.6/2.7 so that you can experiment with some 3.x
features without switching, and in this case it's much faster than 2.6.

Regards

Antoine.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top