Home
last modified time | relevance | path

Searched refs:Py_Py3kWarningFlag (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython2/Include/
Dwarnings.h14 (Py_Py3kWarningFlag ? PyErr_WarnEx(PyExc_DeprecationWarning, msg, stacklevel) : 0)
Dpydebug.h28 PyAPI_DATA(int) Py_Py3kWarningFlag;
/external/python/cpython2/Modules/
Dmain.c335 Py_Py3kWarningFlag++; in Py_Main()
455 if (Py_Py3kWarningFlag && !Py_TabcheckFlag) in Py_Main()
D_tkinter.c2735 if (!self && Py_Py3kWarningFlag) { in Tkapp_CreateFileHandler()
2785 if (!self && Py_Py3kWarningFlag) { in Tkapp_DeleteFileHandler()
2964 if (!self && Py_Py3kWarningFlag) { in Tkapp_CreateTimerHandler()
3013 if (!self && Py_Py3kWarningFlag) { in Tkapp_MainLoop()
3094 if (!self && Py_Py3kWarningFlag) { in Tkapp_DoOneEvent()
3113 if (!self && Py_Py3kWarningFlag) { in Tkapp_Quit()
D_elementtree.c1039 if (Py_Py3kWarningFlag && in element_getiterator()
D_sre.c2270 if (Py_Py3kWarningFlag && in pattern_split()
/external/python/cpython2/Python/
D_warnings.c850 PyObject *filters = PyList_New(Py_Py3kWarningFlag || in init_filters()
860 if (!Py_Py3kWarningFlag && !Py_DivisionWarningFlag) { in init_filters()
Dsysmodule.c1258 SetFlag(Py_Py3kWarningFlag); in make_flags()
1451 PyBool_FromLong(Py_Py3kWarningFlag)); in _PySys_Init()
Dast.c140 if (Py_Py3kWarningFlag) { in forbidden_check()
736 if (Py_Py3kWarningFlag && !ast_warn(c, ch, in ast_for_arguments()
769 if (parenthesized && Py_Py3kWarningFlag && in ast_for_arguments()
1501 if (Py_Py3kWarningFlag && in ast_for_atom()
3508 if (Py_Py3kWarningFlag && bytes) { in parsestr()
Dsymtable.c1538 if (Py_Py3kWarningFlag && st->st_cur->ste_generator) { in symtable_handle_comprehension()
1577 if (Py_Py3kWarningFlag && st->st_cur->ste_generator) { in symtable_visit_listcomp()
Dcodecs.c467 if (Py_Py3kWarningFlag && !PyTuple_CheckExact(codec)) { in _PyCodec_LookupTextEncoding()
Dceval.c3906 if (Py_Py3kWarningFlag && PyClass_Check(type)) { in do_raise()
4859 else if (Py_Py3kWarningFlag && in cmp_outcome()
4882 else if (Py_Py3kWarningFlag && in cmp_outcome()
/external/python/cpython2/Objects/
Dobject.c33 int Py_Py3kWarningFlag; variable
909 if (Py_Py3kWarningFlag && in try_3way_to_rich_compare()
1775 if (Py_Py3kWarningFlag && in merge_list_attr()
Dtypeobject.c670 if (Py_Py3kWarningFlag && op != Py_EQ && op != Py_NE && in type_richcompare()
3378 if (required_state && Py_Py3kWarningFlag) { in reduce_2()
4065 if (Py_Py3kWarningFlag) {
4237 if (Py_Py3kWarningFlag && !(type->tp_flags & Py_TPFLAGS_HEAPTYPE))
/external/python/cpython2/Parser/
Dtokenizer.c1634 if (Py_Py3kWarningFlag && token == NOTEQUAL && c == '<') { in tok_get()
/external/python/cpython2/Doc/c-api/
Dexceptions.rst322 if the :c:data:`Py_Py3kWarningFlag` flag is enabled.
/external/python/cpython2/Misc/NEWS.d/
D2.6a1.rst476 Expose the Py_Py3kWarningFlag as sys.py3kwarning.
/external/python/cpython2/Doc/whatsnew/
D2.6.rst122 and to C extension code as :c:data:`Py_Py3kWarningFlag`.
/external/python/cpython3/Doc/whatsnew/
D2.6.rst124 and to C extension code as :c:data:`Py_Py3kWarningFlag`.