[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-08-17 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: Ned, thank you for applying the patch! I have discovered this same issue accidentally while playing with possible implementations of PEP 526. It appeared as a failure in test_sys_settrace in my fork. -- ___ Python

[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-08-17 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. It looks the assert error is triggered by the new test case added in 59638baee25e for Issue13436. Since that test case was only added for 3.6, I've only applied Ivan's suggested fix for 3.6 as well, although you could trigger the same

[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-08-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1bf307f42a6b by Ned Deily in branch 'default': Issue #27594: Prevent assertion error when running test_ast with coverage https://hg.python.org/cpython/rev/1bf307f42a6b -- nosy: +python-dev ___ Python

[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-08-16 Thread ap
ap added the comment: Thanks, Ivan, that change fixes it for me, too. I checked with a more recent revision and build: $ hg identify 265644bad99e+ tip $ ./python.exe --version Python 3.6.0a4+ $ Confirmed that it still exhibited the same behaviour as before: $ ./python.exe -m test test_ast

[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-08-12 Thread Quentin Pradet
Quentin Pradet added the comment: Thanks levkivskyi, it fixed the issue for me! -- ___ Python tracker ___ ___

[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-08-12 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: You could try changing this line in compile.c (in function 'assemble') if (entryblock && entryblock->b_instr) to if (entryblock && entryblock->b_instr && entryblock->b_instr->i_lineno) Does this help? -- nosy: +levkivskyi

[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-08-03 Thread SilentGhost
SilentGhost added the comment: Cannot reproduce this on Linux -- nosy: +SilentGhost ___ Python tracker ___

[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-08-02 Thread Quentin Pradet
Changes by Quentin Pradet : -- nosy: +Quentin.Pradet ___ Python tracker ___ ___

[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-07-23 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +benjamin.peterson, georg.brandl ___ Python tracker ___

[issue27594] Assertion failure when running "test_ast" tests with coverage.

2016-07-22 Thread ap
New submission from ap: This is with a build of the default branch on OS X 10.11.6: $ hg identify fada654c5f72 tip $ ./python.exe --version Python 3.6.0a3+ $ The "test_ast" tests appear to run fine without coverage tracking enabled: $ ./python.exe -m test test_ast Run tests sequentially