/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 | 992 DeprecationWarning, stacklevel=2) 1026 DeprecationWarning, stacklevel=2) 1047 DeprecationWarning, stacklevel=2) 1070 DeprecationWarning, stacklevel=2) 1083 DeprecationWarning, stacklevel=2) 1096 DeprecationWarning, stacklevel=2) 1119 DeprecationWarning, stacklevel=2) 1143 DeprecationWarning, stacklevel=2) 1158 DeprecationWarning, stacklevel=2) 1173 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/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
|
D | getpass.py | 122 stacklevel=2)
|
/third_party/node/deps/v8/third_party/jinja2/ |
D | utils.py | 483 stacklevel=2, 497 stacklevel=2, 507 stacklevel=2, 523 stacklevel=2, 735 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/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/Lib/test/support/ |
D | os_helper.py | 275 RuntimeWarning, stacklevel=4) 392 RuntimeWarning, stacklevel=3) 425 RuntimeWarning, stacklevel=3)
|
/third_party/python/Lib/asyncio/ |
D | events.py | 765 def _get_event_loop(stacklevel=3): argument 771 DeprecationWarning, stacklevel=stacklevel)
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor.h | 99 bool _CalledFromGeneratedFile(int stacklevel);
|
/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)
|
/third_party/python/Lib/wsgiref/ |
D | util.py | 26 stacklevel=2
|