[ANN] Python 2.3.7 and 2.4.5, release candidate 1

On behalf of the Python development team and the Python community, I'm happy to announce the release candidates of Python 2.4.5 and 2.4.5. Both releases include only security fixes. Python 2.5 is the latest version of Python, we're making this release for people who are still running Python 2.3 or 2.4. See the release notes at the website (also available as Misc/NEWS in the source distribution) for details of bugs fixed; most of them prevent interpreter crashes (and now cause proper Python exceptions in cases where the interprerter may have crashed before). Assuming no major problems crop up, a final release of Python 2.4.4 will follow in about a week's time. For more information on Python 2.3.7 and 2.4.5, including download links for various platforms, release notes, and known issues, please see: http://www.python.org/2.3.7 http://www.python.org/2.4.5 Highlights of the previous major Python releases are available from the Python 2.4 page, at http://www.python.org/2.3/highlights.html http://www.python.org/2.4/highlights.html Enjoy this release, Martin Martin v. Loewis martin@v.loewis.de Python Release Manager (on behalf of the entire python-dev team)

On Mar 2, 2008, at 4:05 PM, Martin v. Löwis wrote:
Assuming no major problems crop up, a final release of Python 2.4.4 will follow in about a week's time.
I do suppose you mean 2.4.5. 2.4.5 won't build for me from the svn checkout on Mac OS X 10.5.2: gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused- madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include - DPy_BUILD_CORE -c ./Modules/posixmodule.c -o Modules/posixmodule.o ./Modules/posixmodule.c: In function ‘posix_setpgrp’: ./Modules/posixmodule.c:3145: error: too few arguments to function ‘setpgrp’ make: *** [Modules/posixmodule.o] Error 1 I can only presume I'm doing something wrong at this point, since I don't consider myself a Mac OS X developer. -Fred -- Fred Drake <fdrake at acm.org>

On Mar 2, 2008, at 7:43 PM, Fred Drake wrote:
2.4.5 won't build for me from the svn checkout on Mac OS X 10.5.2:
Neither does 2.3.7 now that I've tried that: gcc -u __dummy -u _PyMac_Error -framework System -framework CoreServices -framework Foundation -o python.exe \ Modules/python.o \ libpython2.3.a -ldl Undefined symbols: "__dummy", referenced from: ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [python.exe] Error 1 Of course, I wasn't using an earlier 2.3.x version on this box. I would really like to be able to use 2.4.5, since I've been using 2.4.4 for work for a while now. -Fred -- Fred Drake <fdrake at acm.org>

On Sun, Mar 2, 2008 at 4:52 PM, Fred Drake <fdrake@acm.org> wrote:
On Mar 2, 2008, at 7:43 PM, Fred Drake wrote:
2.4.5 won't build for me from the svn checkout on Mac OS X 10.5.2:
Neither does 2.3.7 now that I've tried that:
gcc -u __dummy -u _PyMac_Error -framework System -framework CoreServices -framework Foundation -o python.exe \ Modules/python.o \ libpython2.3.a -ldl Undefined symbols: "__dummy", referenced from: ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [python.exe] Error 1
Of course, I wasn't using an earlier 2.3.x version on this box. I would really like to be able to use 2.4.5, since I've been using 2.4.4 for work for a while now.
For me on OS X 10.5.2 (gcc 4.0.1) for 2.37 I am getting a ton of: sem_post: Bad file descriptor sem_init: Function not implemented sem_trywait: Bad file descriptor -Brett

"It has to do with the MACOSX_DEPLOYMENT_TARGET. If it's set to 10.4, the legacy version of setpgrp is used (with args), it it's 10.5, setpgrp expects no arguments. It seems configure won't detect the difference." http://bugs.python.org/issue1358 This issue was fixed for Python 2.5. As the issue notes, you can work around it with: ./configure MACOSX_DEPLOYMENT_TARGET=10.5 But it would be really nice if the configure fix for 2.5 was backported to 2.4.5 since Zope is still on 2.4 and Mac OS X skipped system builds for 2.4 going direct from 2.3 -> 2.5.

On Mar 2, 2008, at 8:35 PM, Kevin Teague wrote:
This issue was fixed for Python 2.5. As the issue notes, you can work around it with:
./configure MACOSX_DEPLOYMENT_TARGET=10.5
Indeed, that works wonderfully for me for 2.4.5.
But it would be really nice if the configure fix for 2.5 was backported to 2.4.5 since Zope is still on 2.4 and Mac OS X skipped system builds for 2.4 going direct from 2.3 -> 2.5.
Yes, it would be very nice if this worked out of the box on Mac OS X 10.5.2. It's definitely a surprise for those of us who built our 2.4.4 on Mac OS X 10.4.x. -Fred -- Fred Drake <fdrake at acm.org>

But it would be really nice if the configure fix for 2.5 was backported to 2.4.5 since Zope is still on 2.4 and Mac OS X skipped system builds for 2.4 going direct from 2.3 -> 2.5.
Yes, it would be very nice if this worked out of the box on Mac OS X 10.5.2. It's definitely a surprise for those of us who built our 2.4.4 on Mac OS X 10.4.x.
I can put a notice in the release notes, but I definitely won't change it to work out of the box. If 2.4.4 compiled out of the box on this box, it would have been a regression and would have to be fixed. IIUC, 2.4.4 won't compile on 10.5, either, and Python 2.4.5 will have no code to port it to new platforms. Regards, Martin

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mar 3, 2008, at 1:48 AM, Martin v. Löwis wrote:
But it would be really nice if the configure fix for 2.5 was backported to 2.4.5 since Zope is still on 2.4 and Mac OS X skipped system builds for 2.4 going direct from 2.3 -> 2.5.
Yes, it would be very nice if this worked out of the box on Mac OS X 10.5.2. It's definitely a surprise for those of us who built our 2.4.4 on Mac OS X 10.4.x.
I can put a notice in the release notes, but I definitely won't change it to work out of the box. If 2.4.4 compiled out of the box on this box, it would have been a regression and would have to be fixed. IIUC, 2.4.4 won't compile on 10.5, either, and Python 2.4.5 will have no code to port it to new platforms.
Can you also add a note to the 2.3 and 2.4 web pages? - -Barry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iQCVAwUBR8vsPHEjvBPtnXfVAQJVpgP5AbRU+BENEa7fv7vGUykjtQRftaF6ATQz yTo9018UiQZ20bFv2PIvgHltsET1ksTuieSdDjGbQ3rGu3vo1tldiGYxUQJgi++C q8ntOyLUo+nHSlKm11TTyMiNX4igl+X0bes5PlgJZbWOnw0vBvWbVRrwgMUsJqfi ox/d8+2jWc4= =HLja -----END PGP SIGNATURE-----

Assuming no major problems crop up, a final release of Python 2.4.4 will follow in about a week's time.
I do suppose you mean 2.4.5.
Oops, yes.
2.4.5 won't build for me from the svn checkout on Mac OS X 10.5.2:
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I. -I./Include -DPy_BUILD_CORE -c ./Modules/posixmodule.c -o Modules/posixmodule.o ./Modules/posixmodule.c: In function ‘posix_setpgrp’: ./Modules/posixmodule.c:3145: error: too few arguments to function ‘setpgrp’ make: *** [Modules/posixmodule.o] Error 1
I can only presume I'm doing something wrong at this point, since I don't consider myself a Mac OS X developer.
No. 2.4.5 just won't compile on OSX 10.5.2. This bug has been fixed for 2.5 (IIUC), but the fix was not backported (nor should it be, as it is not relevant for security). Use OS X 10.4 if you want to use Python 2.4. Regards, Martin
participants (5)
-
"Martin v. Löwis"
-
Barry Warsaw
-
Brett Cannon
-
Fred Drake
-
Kevin Teague