Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212178 - dev-lang/python-2.5.2 released
Summary: dev-lang/python-2.5.2 released
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL: http://www.python.org/download/releas...
Whiteboard:
Keywords:
Depends on: 125992 145206 198021 209673
Blocks:
  Show dependency tree
 
Reported: 2008-03-03 12:23 UTC by Arne Babenhauserheide
Modified: 2008-04-18 22:30 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gentoo patches adjusted for python-2.5.2 (python-gentoo-patches-2.5.2.tar.bz2,9.73 KB, application/octet-stream)
2008-04-12 07:37 UTC, Markus Peloquin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arne Babenhauserheide 2008-03-03 12:23:55 UTC
Hi, 

I just wanted to note here, that python 2.5.2 was released. 

"According to the release notes, over 100 bugs and patches have been addressed since Python 2.5.1, many of them improving the stability of the interpreter, and improving its portability."

Best wishes, and thanks to the python herd for their work! 

Reproducible: Always
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2008-03-03 14:00:10 UTC
python-team: would be good if we could solve the following issues with this version:
bug #209673 dev-lang/python builds an internal copy of libffi
bug #125992 Enable static python build with portage
bug #145206 python's distutils does not respect CXXFLAGS

What do you think? Realistic?
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2008-03-03 16:31:04 UTC
bug #209673 is now only profile-work. Patch is present and it builds. Testing needed... If you want to help, add the patch from the mentioned bug in src_unpack using epatch and report whether there are any test failures (especially in conjunction with the ctypes-module).
Comment 3 Arne Babenhauserheide 2008-03-27 09:19:20 UTC
I added the three bugs as dependency of Python 2.5.2 

(I hope that's the correct process. If it is not, please tell me - I didn't find the process in the Bugzilla guide, nor via Google, so I assume I don't know the correct place to search). 
Comment 4 Markus Peloquin 2008-04-12 07:37:51 UTC
Created attachment 149464 [details]
gentoo patches adjusted for python-2.5.2

Hopefully this gets the ball rolling.  I adjusted all of the patches from python-gentoo-patches-2.5.1-r3.tar.bz2 to apply cleanly to python-2.5.2.  I ended up merging two of the patches together and removing another (change already present in 2.5.2).  I also added the fix I made for bug #145206.
Comment 5 Jimmy.Jazz 2008-04-13 19:14:15 UTC
(In reply to comment #4)

I have installed python 2.5.2 with gentoo patches but it doesn't resolve the malloc errors I get randomly with for example pitivi, ups-monitor and other python aware applications.

Using threads are unsafe in many cases. See http://bugs.python.org/issue815646

Is it possible to activate nothreads flag without harm gentoo and also avoid the malloc corruption?
Comment 6 Ali Polatel (RETIRED) gentoo-dev 2008-04-18 22:30:01 UTC
(In reply to comment #5)
> 
> Using threads are unsafe in many cases. See http://bugs.python.org/issue815646
> 
> Is it possible to activate nothreads flag without harm gentoo and also avoid
> the malloc corruption?
> 

python-2.5.2-r1 includes upstream fix for the issue you mentioned.
Thanks for reporting :)