Message145423
Since #9878 proposes an *alternate* solution to *part* of the sysconfig problem, I disagree with 'supersede'. A Python solution would be more useful for other implementations if enough of the sysconfig info is not CPython specific.
A CPython design feature is that it parses and compiles Python code just once per run, and imported modules just once until the code changes (or might have). For functions, everything possible is put into a behind-the-scenes code object. So even inner functions are parsed and compiled just once.
The problem with sysconfig, it appears, is that lacks the equivalent design feature but instead does the equivalent of re-parsing and re-compiling inner functions with each outer function call. |
|
Date |
User |
Action |
Args |
2011-10-12 19:52:07 | terry.reedy | set | recipients:
+ terry.reedy, barry, ncoghlan, pitrou, vstinner, nadeem.vawda, tarek, ezio.melotti, eric.araujo, rosslagerwall, python-dev |
2011-10-12 19:52:06 | terry.reedy | set | messageid: <1318449126.96.0.620467932507.issue13150@psf.upfronthosting.co.za> |
2011-10-12 19:52:06 | terry.reedy | link | issue13150 messages |
2011-10-12 19:52:06 | terry.reedy | create | |
|