Emerge runs so much faster when you use the PSYCO python compiler that I can't believe that it's not automatically included. We should at the least, reap the performance benefits of Psyco by making it a user configurable dependency via a use variable named; PSYCO. The Psyco ebuild is such a small package... let's use it... Python seems to be the core script language for Gentoo, let's allow Gentoo users the option of running it in the most effcient manner possible. Reproducible: Always Steps to Reproduce: 1. 2. 3.
maybe if you could suggest patches to the python eclass or how it could be implemented.
Created attachment 28258 [details, diff] a patch against portage 2.0.50-r2 to add support for psyco usage: 1. emerge psyco 2. FEATURES=psyco emerge xxx 3. pray
""" + try: + import psyco + except ImportError: """ after import psyco should be "psyco.full()".
There is a discussion going on in here: http://forums.gentoo.org/viewtopic.php?t=153921
*** Bug 53134 has been marked as a duplicate of this bug. ***
Psyco has a number of known bugs and most definately a number of unknown bugs as well. These may not show up with your testing just like they did not show up on mine. However, the bugs would show up in strange ways if psyco was introduced. This is not really acceptable given the number of users. Before long, the "bottle-neck" code in portage will rewritten in C and made into python modules. This should give a bigger performance increase without introducing the issues listed above.