py: Instead of having "debug on" var, have "optimization level" var.

This allows to have multiple "optimization" levels (CPython has two
(-OO removes docstrings), we can have more).
This commit is contained in:
Paul Sokolovsky
2014-06-02 19:37:55 +03:00
parent 509c7a7854
commit d3439d0c60
5 changed files with 16 additions and 14 deletions

View File

@@ -176,3 +176,5 @@ typedef enum {
mp_import_stat_t mp_import_stat(const char *path);
mp_lexer_t *mp_lexer_new_from_file(const char *filename);
extern uint mp_optimise_value;