Summary: | The python compiler, PSYCO, should be made an option via use variable PSYCO for performance. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jerry McBride <mcbrides9> |
Component: | [OLD] Core system | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED WONTFIX | ||
Severity: | enhancement | CC: | crefff, gurligebis, radek |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | a patch against portage 2.0.50-r2 to add support for psyco |
Description
Jerry McBride
2004-03-26 04:13:35 UTC
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. |