[issue18949] codeop possible flow error

2013-09-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I'm not even sure when this else statement is executed. It executed when no breaks were happen. I.e. both variants of code are equivalent besides the fact that variant with "else" doesn't require named boolean variable. It is a feature of Python syntax. -

[issue18949] codeop possible flow error

2013-09-06 Thread Wilberto Morales
Wilberto Morales added the comment: I can't provide a example but reading the source comments it seems wrong. 'First, check if the source consists entirely of blank lines and comments; if so, replace it with 'pass', because the built-in parser doesn't always do the right thing for these.' So th

[issue18949] codeop possible flow error

2013-09-06 Thread Wilberto Morales
Changes by Wilberto Morales : -- title: codeop possible flow erro -> codeop possible flow error ___ Python tracker ___ ___ Python-bugs

[issue18949] codeop possible flow error

2013-09-06 Thread R. David Murray
R. David Murray added the comment: Why do you think that? Can you provide a test case that fails? -- nosy: +r.david.murray ___ Python tracker ___ ___