On Tue, 29 Jan 2002 17:33:28 GMT, Michael Hudson <mwh at python.net> wrote: > >You need PyRun_SimpleStringFlags. > Ahh, thanks. What I actually needed was PyRun_StringFlags on each call. Unluckily CO_GENERATOR_ALLOWED and CO_FUTURE_DIVISION are not declared publically by Python.h. Stefan