Home
last modified time | relevance | path

Searched refs:Py_BytesWarningFlag (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Include/cpython/
Dpydebug.h15 PyAPI_DATA(int) Py_BytesWarningFlag;
/third_party/python/Programs/
D_testembed.c445 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()
/third_party/python/Python/
Dinitconfig.c163 int Py_BytesWarningFlag = 0; /* Warn on str(bytes) and str(buffer) */ variable
222 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()
/third_party/python/Doc/c-api/
Dinit.rst81 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
/third_party/python/Doc/whatsnew/
D3.7.rst2506 setting :c:data:`Py_BytesWarningFlag` to a value greater than one is no longer