Home
last modified time | relevance | path

Searched refs:warn_explicit (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython3/Lib/test/test_warnings/
D__init__.py214 self.module.warn_explicit(message, UserWarning, "__init__.py",
218 self.module.warn_explicit(message, UserWarning, "__init__.py",
221 self.module.warn_explicit(message, UserWarning, "test_warnings2.py",
231 self.module.warn_explicit('msg', UserWarning, "filename", 42,
237 self.module.warn_explicit('msg', UserWarning, "filename", 42,
242 self.module.warn_explicit('msg', UserWarning, "filename", 42,
315 self.module.warn_explicit(UserWarning("b"), None, "f.py", 42)
531 self.module.warn_explicit("text", UserWarning, filename, 1)
538 self.assertRaises(TypeError, self.module.warn_explicit,
542 self.assertRaises(TypeError, self.module.warn_explicit,
[all …]
/external/python/cpython2/Lib/test/
Dtest_warnings.py153 self.module.warn_explicit(message, UserWarning, "test_warnings.py",
157 self.module.warn_explicit(message, UserWarning, "test_warnings.py",
160 self.module.warn_explicit(message, UserWarning, "test_warnings2.py",
360 self.assertRaises(TypeError, self.module.warn_explicit,
364 self.assertRaises(TypeError, self.module.warn_explicit,
368 self.module.warn_explicit,
469 self.module.warn_explicit(message, UserWarning, "file", 42)
472 self.module.warn_explicit(message, UserWarning, "file", 42)
483 self.module.warn_explicit(message, UserWarning, "file", 42)
497 self.module.warn_explicit(message, UserWarning, "<test>", 42,
[all …]
/external/python/cpython2/Lib/
Dwarnings.py234 warn_explicit(message, category, filename, lineno, module, registry,
237 def warn_explicit(message, category, filename, lineno, function
398 warn, warn_explicit)
/external/python/cpython2/Python/
D_warnings.c295 warn_explicit(PyObject *category, PyObject *message, in warn_explicit() function
602 res = warn_explicit(category, message, filename, lineno, module, registry, in do_warn()
702 returned = warn_explicit(category, message, filename, lineno, module, in warnings_warn_explicit()
709 return warn_explicit(category, message, filename, lineno, module, in warnings_warn_explicit()
768 res = warn_explicit(category, message, filename, lineno, module, registry, in PyErr_WarnExplicit()
/external/python/cpython3/Lib/
Dwarnings.py340 warn_explicit(message, category, filename, lineno, module, registry,
343 def warn_explicit(message, category, filename, lineno, function
535 warn, warn_explicit, _filters_mutated)
Dtimeit.py366 warnings.warn_explicit("The test results are likely unreliable. "
/external/python/cpython3/Python/
D_warnings.c471 warn_explicit(PyObject *category, PyObject *message, in warn_explicit() function
847 res = warn_explicit(category, message, filename, lineno, module, registry, in do_warn()
971 returned = warn_explicit(category, message, filename, lineno, module, in warnings_warn_explicit()
1089 res = warn_explicit(category, message, filename, lineno, in PyErr_WarnExplicitObject()
1153 res = warn_explicit(category, message, filename, lineno, in PyErr_WarnExplicitFormat()
/external/python/cpython2/Misc/NEWS.d/
D2.6rc1.rst326 warnings.warn_explicit().
D2.6b1.rst7 warnings.warn_explicit() did not guard against its 'registry' argument being
/external/python/cpython3/Misc/NEWS.d/
D3.7.0b5.rst19 Fix module_globals parameter of warnings.warn_explicit(): don't crash if
D3.5.0b1.rst101 Make warnings.warn_explicit more robust against mutation of the
D3.7.0a2.rst241 Fix an assertion failure in `warnings.warn_explicit`, when the return value
D3.6.4rc1.rst244 Fix an assertion failure in `warnings.warn_explicit`, when the return value
D3.7.0a3.rst470 registry for the "ignore" action of warnings filters. warn_explicit()
/external/python/cpython2/Doc/library/
Dwarnings.rst311 .. function:: warn_explicit(message, category, filename, lineno[, module[, registry[, module_global…
/external/python/cpython3/Doc/library/
Dwarnings.rst420 .. function:: warn_explicit(message, category, filename, lineno, module=None, registry=None, module…
/external/python/cpython2/Doc/c-api/
Dexceptions.rst314 :func:`warnings.warn_explicit`, see there for more information. The *module*
/external/python/cpython3/Doc/c-api/
Dexceptions.rst330 :func:`warnings.warn_explicit`, see there for more information. The *module*
/external/python/cpython3/Doc/whatsnew/
D3.6.rst1698 :func:`warnings.warn_explicit` function: the destroyed object which emitted a
/external/python/cpython3/Misc/
DHISTORY219 - Issue #24096: Make warnings.warn_explicit more robust against mutation of the
16611 - Issue #3211: warnings.warn_explicit() did not guard against its 'registry'