On 8/10/07, Christian Heimes <[EMAIL PROTECTED]> wrote: > I like to propose a --disable-optimization (-N for no optimization) flag > for Python that disables the usage of optimized implementation. The > status of the flag can be set by either a command line argument or a C > function call before Py_Initialize() and it can be queried by > sys.getoptimization(). It's not possible to chance the flag during > runtime. That should make the code simple and straight forward.
So you want it global and not per-module? It strikes me as something that ought to be controllable at a finer-grained level, if only to ensure that regression tests continue to also test the python version automatically. -jJ _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com