Home
last modified time | relevance | path

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

/third_party/python/Lib/test/test_warnings/
D__init__.py224 self.module.warn_explicit(message, UserWarning, "__init__.py",
228 self.module.warn_explicit(message, UserWarning, "__init__.py",
231 self.module.warn_explicit(message, UserWarning, "test_warnings2.py",
241 self.module.warn_explicit('msg', UserWarning, "filename", 42,
247 self.module.warn_explicit('msg', UserWarning, "filename", 42,
252 self.module.warn_explicit('msg', UserWarning, "filename", 42,
325 self.module.warn_explicit(UserWarning("b"), None, "f.py", 42)
478 self.module.warn_explicit("text", UserWarning, filename, 1)
485 self.assertRaises(TypeError, self.module.warn_explicit,
489 self.assertRaises(TypeError, self.module.warn_explicit,
[all …]
/third_party/python/Lib/
Dwarnings.py324 warn_explicit(message, category, filename, lineno, module, registry,
327 def warn_explicit(message, category, filename, lineno, function
519 warn, warn_explicit, _filters_mutated)
Dtimeit.py368 warnings.warn_explicit("The test results are likely unreliable. "
/third_party/python/Python/
D_warnings.c612 warn_explicit(PyObject *category, PyObject *message, in warn_explicit() function
950 res = warn_explicit(category, message, filename, lineno, module, registry, in do_warn()
1073 returned = warn_explicit(category, message, filename, lineno, module, in warnings_warn_explicit()
1212 res = warn_explicit(category, message, filename, lineno, in PyErr_WarnExplicitObject()
1276 res = warn_explicit(category, message, filename, lineno, in PyErr_WarnExplicitFormat()
/third_party/python/Misc/NEWS.d/
D3.7.0b5.rst19 Fix module_globals parameter of warnings.warn_explicit(): don't crash if
D3.7.0a2.rst241 Fix an assertion failure in `warnings.warn_explicit`, when the return value
D3.5.0b1.rst101 Make warnings.warn_explicit more robust against mutation of the
D3.6.4rc1.rst243 Fix an assertion failure in `warnings.warn_explicit`, when the return value
D3.7.0a3.rst467 registry for the "ignore" action of warnings filters. warn_explicit()
D3.8.0a1.rst1245 Fix module_globals parameter of warnings.warn_explicit(): don't crash if
/third_party/python/Doc/library/
Dwarnings.rst420 .. function:: warn_explicit(message, category, filename, lineno, module=None, registry=None, module…
/third_party/python/Doc/c-api/
Dexceptions.rst335 :func:`warnings.warn_explicit`, see there for more information. The *module*
/third_party/python/Doc/whatsnew/
D3.6.rst1698 :func:`warnings.warn_explicit` function: the destroyed object which emitted a
/third_party/python/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'