[Python-Dev] codeop: small details (Q); commit priv request

Samuele Pedroni pedronis@bluewin.ch
Mon, 12 May 2003 18:34:21 +0200


At 16:22 12.05.2003 +0100, Michael Hudson wrote:

> >
> > I would expect
> >
> > compile_command("",symbol="eval")
> >
> > to return None, i.e. to simply signal an incomplete expression (that
> > is what would happen if the code for "eval" case would avoid the cited
> > logic).
>
>OK, but I think you should preserve the existing behaviour for
>symbol="single".

Of course, I didn't mean otherwise. I can prepare a patch and I have also a 
somehow beefed up test_codeop.