/third_party/python/Lib/test/test_warnings/data/ |
D | stacklevel.py | 5 def outer(message, stacklevel=1): argument 6 inner(message, stacklevel) 8 def inner(message, stacklevel=1): argument 9 warnings.warn(message, stacklevel=stacklevel)
|
D | import_warning.py | 3 warnings.warn('module-level warning', DeprecationWarning, stacklevel=2)
|
/third_party/python/Python/clinic/ |
D | _warnings.c.h | 16 Py_ssize_t stacklevel, PyObject *source); 28 Py_ssize_t stacklevel = 1; in warnings_warn() local 56 stacklevel = ival; in warnings_warn() 64 return_value = warnings_warn_impl(module, message, category, stacklevel, source); in warnings_warn()
|
/third_party/python/Modules/_io/clinic/ |
D | _iomodule.c.h | 294 _io_text_encoding_impl(PyObject *module, PyObject *encoding, int stacklevel); 301 int stacklevel = 2; in _io_text_encoding() local 310 stacklevel = _PyLong_AsInt(args[1]); in _io_text_encoding() 311 if (stacklevel == -1 && PyErr_Occurred()) { in _io_text_encoding() 315 return_value = _io_text_encoding_impl(module, encoding, stacklevel); in _io_text_encoding()
|
/third_party/python/Lib/urllib/ |
D | parse.py | 994 DeprecationWarning, stacklevel=2) 1028 DeprecationWarning, stacklevel=2) 1049 DeprecationWarning, stacklevel=2) 1072 DeprecationWarning, stacklevel=2) 1085 DeprecationWarning, stacklevel=2) 1098 DeprecationWarning, stacklevel=2) 1121 DeprecationWarning, stacklevel=2) 1145 DeprecationWarning, stacklevel=2) 1160 DeprecationWarning, stacklevel=2) 1175 DeprecationWarning, stacklevel=2) [all …]
|
/third_party/python/Lib/importlib/ |
D | util.py | 154 DeprecationWarning, stacklevel=2) 174 DeprecationWarning, stacklevel=2) 202 DeprecationWarning, stacklevel=2)
|
D | abc.py | 86 stacklevel=2) 127 stacklevel=2)
|
D | __init__.py | 83 DeprecationWarning, stacklevel=2)
|
/third_party/jinja2/ |
D | utils.py | 483 stacklevel=2, 497 stacklevel=2, 507 stacklevel=2, 523 stacklevel=2, 735 stacklevel=2,
|
/third_party/skia/third_party/externals/jinja2/ |
D | utils.py | 483 stacklevel=2, 497 stacklevel=2, 507 stacklevel=2, 523 stacklevel=2, 735 stacklevel=2,
|
/third_party/python/Lib/ |
D | warnings.py | 287 def warn(message, category=None, stacklevel=1, source=None): argument 300 if stacklevel <= 1 or _is_internal_frame(sys._getframe(1)): 303 frame = sys._getframe(stacklevel) 307 for x in range(stacklevel-1): 506 warn(msg, category=RuntimeWarning, stacklevel=2, source=coro)
|
D | threading.py | 399 DeprecationWarning, stacklevel=2) 558 DeprecationWarning, stacklevel=2) 1207 DeprecationWarning, stacklevel=2) 1218 DeprecationWarning, stacklevel=2) 1229 DeprecationWarning, stacklevel=2) 1240 DeprecationWarning, stacklevel=2) 1443 DeprecationWarning, stacklevel=2) 1464 DeprecationWarning, stacklevel=2)
|
D | io.py | 69 DeprecationWarning, stacklevel=2)
|
D | ssl.py | 387 stacklevel=2 492 stacklevel=2 536 stacklevel=2 943 stacklevel=2 1162 stacklevel=2 1426 stacklevel=2
|
/third_party/python/Lib/lib2to3/ |
D | __init__.py | 7 stacklevel=2,
|
/third_party/python/Lib/sqlite3/ |
D | __init__.py | 69 warnings.warn(msg, DeprecationWarning, stacklevel=2)
|
D | dbapi2.py | 98 warnings.warn(msg, DeprecationWarning, stacklevel=2)
|
/third_party/python/Modules/clinic/ |
D | _asynciomodule.c.h | 681 _asyncio__get_event_loop_impl(PyObject *module, int stacklevel); 691 int stacklevel = 3; in _asyncio__get_event_loop() local 700 stacklevel = _PyLong_AsInt(args[0]); in _asyncio__get_event_loop() 701 if (stacklevel == -1 && PyErr_Occurred()) { in _asyncio__get_event_loop() 705 return_value = _asyncio__get_event_loop_impl(module, stacklevel); in _asyncio__get_event_loop()
|
/third_party/markupsafe/ |
D | _native.py | 73 stacklevel=2,
|
/third_party/python/Lib/test/support/ |
D | os_helper.py | 275 RuntimeWarning, stacklevel=4) 392 RuntimeWarning, stacklevel=3) 425 RuntimeWarning, stacklevel=3)
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor.h | 99 bool _CalledFromGeneratedFile(int stacklevel);
|
/third_party/python/Lib/asyncio/ |
D | events.py | 765 def _get_event_loop(stacklevel=3): argument 771 DeprecationWarning, stacklevel=stacklevel)
|
/third_party/grpc/src/python/grpcio/grpc/experimental/ |
D | __init__.py | 69 warnings.warn(msg, ExperimentalApiWarning, stacklevel=2 + stack_offset)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0rc3.rst | 8 warnings.warn(stacklevel=) parameter.
|
/third_party/python/Lib/test/test_warnings/ |
D | __init__.py | 15 from test.test_warnings.data import stacklevel as warning_tests 426 warning_tests.inner("spam3", stacklevel=1) 429 warning_tests.outer("spam4", stacklevel=1) 433 warning_tests.inner("spam5", stacklevel=2) 436 warning_tests.outer("spam6", stacklevel=2) 439 warning_tests.outer("spam6.5", stacklevel=3) 443 warning_tests.inner("spam7", stacklevel=9999)
|