Commit c5ec32f6 authored by Stefan Behnel's avatar Stefan Behnel

optimize __debug__ flag

parent c811afec
......@@ -403,6 +403,9 @@ def init_builtins():
init_builtin_structs()
init_builtin_funcs()
init_builtin_types()
builtin_scope.declare_var(
'__debug__', PyrexTypes.c_const_type(PyrexTypes.c_bint_type),
pos=None, cname='(!Py_OptimizeFlag)', is_cdef=True)
global list_type, tuple_type, dict_type, set_type, frozenset_type
global bytes_type, str_type, unicode_type
global float_type, bool_type, type_type, complex_type
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment