*) compile_command("",eval) -> None , previously raised syntax error about "pass" *) symbol must be eval or single, now raises ValueError accordingly as specified in the documentation patch both for 2.3 and 2.2 maint for codeop.py and test/test_codeop.py (beefed up) (for Jython at the moment we use the test suite of 2.2 maint, that's why this is relevant)
Logged In: YES user_id=6656 Given that codeop has *never* lived up to its promise to raise ValueError on 'exec', perhaps the docs should be fixed rather than the code? (I don't understand the point of supporting anything but 'single', but...). Certainly this change *should not* be made on the 22-maint branch. Can you check in your tests to both branches and port Guido's codeop.py change? Fixing up the docs gets you extra points, I think :-)