[issue31657] unit test for optimization levels does not cover __debug__ case

2017-10-04 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: Thanks for this enhancement, Diana. Since PR has been merged, and backport is not needed, I think this can be closed now. :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7 __

[issue31657] unit test for optimization levels does not cover __debug__ case

2017-10-03 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 543386b7f077d210ea0722079d68beb6c066730a by Mariatta (diana) in branch 'master': bpo-31657: Add test coverage for the __debug__ case (GH-3450) https://github.com/python/cpython/commit/543386b7f077d210ea0722079d68beb6c066730a -- nosy: +

[issue31657] unit test for optimization levels does not cover __debug__ case

2017-10-01 Thread diana
Change by diana : -- keywords: +patch pull_requests: +3827 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailin

[issue31657] unit test for optimization levels does not cover __debug__ case

2017-10-01 Thread diana
New submission from diana : There are currently three supported optimization levels (0, 1, and 2). Briefly summarized, they do the following. 0: no optimizations 1: remove assert statements and __debug__ blocks 2: remove docstrings, assert statements, and __debug__ blocks The curre