RELEASED Python 2.6.5

B

Barry Warsaw

On behalf of the Python community, I'm happy to announce the availability of
Python 2.6.5 final. This is the latest production-ready version in the Python
2.6 series.

Python 2.6.5 fixes dozens of issues in the core, built-in modules, libraries,
and documentation since Python 2.6.4 was released back in October 2009. We
highly recommend that you upgrade to Python 2.6.5.

Please see the NEWS file for all the gory details.

http://www.python.org/download/releases/2.6.5/NEWS.txt

Source tarballs and the Windows installers can be downloaded from the Python
2.6.5 page. The Mac OS X disk image will be uploaded soon.

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

For more information on Python 2.6 in general, please see

http://docs.python.org/whatsnew/2.6.html

Please report bugs for any Python version in the Python tracker.

http://bugs.python.org

Enjoy,
-Barry

Barry Warsaw
(e-mail address removed)
Python 2.6 Release Manager
(on behalf of the entire python-dev team)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJLpAE3AAoJEBJutWOnSwa/O48P/RDSF6K0Yppe60LnEPGuR4cs
3lQZh8jVaV5SOkkGrcvELbv3TeF+rbXO/7oyjjwDI9vY3iDMcT5sshnQAMOUEPB4
lVkU5XcgXiy6LKmfZl7qNF2iHf0Bs76npUv2D0ZEPyb7o/wOs5nQedS5VxT6ifsL
JPl7UEw8ajwko5yCuTc4pR3YR+QGMn0Flp2/ExuqfWzuQXYzSUkyxUR+hoH9m2++
afzjuUi33brEk01VwV8yer7NOUQp8EFCVLtOOi2fmdBvRgkzMltPFFmVVo3Fc/Fo
KU70ofyupKw0Xq6viDE9onChrZ9FT5Yg315M4jYNnpYATa4BXzLGvg+OUpRKc06M
ahXcCxE9NRHtizFBp2qjkBw2T2LaYeRlYzlf04H8Pny/ntw9DlppQtrrMRTh8ohH
ogXMbcpc3aKdQ0fDsr2pZhcDnQE3Jq7vNBdaULhyQq5PFXtQElMjYTmeZ8w5cWRu
LulB57yluHBrt/aTXvG4+DzRMR6Yr84B1c8c4nf6hbqoa8cGUgfi3FU4REq3zt59
a2DlXy2TbKmFz941C0yxbKikdqTpEVtL/TFBLmZ9gfDOTnm4ZjdWfX+B+uXXFrx0
ReL/HfZNGQGPLH6lcEWlMiLit1UeW3d9Dy5fIkpr3DFf3ZgsFZmdRNaY0Br5i+D0
MRasW9t8UoPw/OAsIcAo
=PWs1
-----END PGP SIGNATURE-----
 
P

peter

Thank you everyone for all the work that went into this update, but there may be
a small problem with the Windows x86 installer.

I've built and used python 2.6.5 on linux without any apparent problems, but the
Windows x86 binary installer stops after compiling a few python source files.

I've tried the Windows x86 installer on two differently configured Windows XP
PCs (SP3 with patches), but I get the following errors during the advanced
compiling of python source files:

"There is a problem with this Windows Installer package. A program run as part
of the setup did not finish as expected. Contact your support personnel or
package vendor."

"Python 2.6.5 Installer ended prematurely ..."

The md5sum of the Windows x86 installer matched the published value. I did not
try not using the advanced option. I reinstalled python 2.6.4 on both of the
PCs without any problems and used the advanced compile option.

Is anyone else having trouble with the 2.6.5 Windows x86 installer?

Peter
 
M

Martin v. Loewis

Is anyone else having trouble with the 2.6.5 Windows x86 installer?

Not me. Run

msiexec /i py...msi /l*v py.log

and inspect py.log for errors (post it to bugs.python.org if you can't
determine the cause of the problems).

Are you using SUBST by any chance?

Regards,
Martin
 
P

Peter

Not me. Run

msiexec /i py...msi /l*v py.log

and inspect py.log for errors (post it to bugs.python.org if you can't
determine the cause of the problems).


Martin,

Thanks for the tip about the msiexec command line usage. If I run the
installer without selecting the Advanced compiling option, it works fine.

The relevent part of the log when it fails using the Advanced compiling
option is as follows:

--------------------

MSI (s) (4C:B4) [14:41:27:205]: Doing action: CompilePyc
Action 14:41:27: CompilePyc.
Action start 14:41:27: CompilePyc.
MSI (s) (4C:B4) [14:45:45:528]: Note: 1: 1722 2: CompilePyc 3: C:\bin
\Python26\python.exe 4: -Wi "C:\bin\Python26\Lib\compileall.py" -f -x
bad_coding|badsyntax|site-packages|py3_ "C:\bin\Python26\Lib"
MSI (s) (4C:B4) [14:45:45:528]: Note: 1: 2262 2: Error 3: -2147287038
Error 1722. There is a problem with this Windows Installer package. A
program run as part of the setup did not finish as expected. Contact your
support personnel or package vendor. Action CompilePyc, location: C:\bin
\Python26\python.exe, command: -Wi "C:\bin\Python26\Lib\compileall.py" -f
-x bad_coding|badsyntax|site-packages|py3_ "C:\bin\Python26\Lib"
MSI (s) (4C:B4) [14:47:41:133]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (4C:B4) [14:47:41:133]: Product: Python 2.6.5 -- Error 1722.
There is a problem with this Windows Installer package. A program run as
part of the setup did not finish as expected. Contact your support
personnel or package vendor. Action CompilePyc, location: C:\bin\Python26
\python.exe, command: -Wi "C:\bin\Python26\Lib\compileall.py" -f -x
bad_coding|badsyntax|site-packages|py3_ "C:\bin\Python26\Lib"

Action ended 14:47:41: CompilePyc. Return value 3.
Action ended 14:47:41: INSTALL. Return value 3.

--------------------

I believe the cause of the installation failure message is with the
syntax of the following command:

C:\bin\Python26\python.exe -Wi "C:\bin\Python26\Lib\compileall.py" -f -x
bad_coding|badsyntax|site-packages|py3_ "C:\bin\Python26\Lib"

If you run this command in the Windows XP shell, it yields an error. If
you wrap the -x option's args in double quotes, it runs ok (except for a
syntax error when compiling one of the python source files - I don't
remember which one):

C:\bin\Python26\python.exe -Wi "C:\bin\Python26\Lib\compileall.py" -f -x
"bad_coding|badsyntax|site-packages|py3_" "C:\bin\Python26\Lib"

So it appears that the Windows XP shell is interpreting the "|"
characters within the -x option's args as pipe characters and trys to
pipe the "multiple commands" together. The simple work around is to not
use the Advanced compiling option.

Peter
 

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

No members online now.

Forum statistics

Threads
473,795
Messages
2,569,644
Members
45,358
Latest member
TreyTritt8

Latest Threads

Top