Searched refs:Py_BytesWarningFlag (Results 1 – 5 of 5) sorted by relevance
15 PyAPI_DATA(int) Py_BytesWarningFlag;
445 Py_BytesWarningFlag = 1; in test_init_global_config()578 Py_BytesWarningFlag = 0; in test_init_from_config()900 Py_BytesWarningFlag = 2; in set_all_global_config_variables()
163 int Py_BytesWarningFlag = 0; /* Warn on str(bytes) and str(buffer) */ variable222 SET_ITEM_INT(Py_BytesWarningFlag); in _Py_GetGlobalVariablesAsDict()1410 COPY_FLAG(bytes_warning, Py_BytesWarningFlag); in config_get_global_vars()1447 COPY_FLAG(bytes_warning, Py_BytesWarningFlag); in config_set_global_vars()
81 that the option was set. For example, ``-b`` sets :c:data:`Py_BytesWarningFlag`82 to 1 and ``-bb`` sets :c:data:`Py_BytesWarningFlag` to 2.84 .. c:var:: int Py_BytesWarningFlag
2506 setting :c:data:`Py_BytesWarningFlag` to a value greater than one is no longer