Home
last modified time | relevance | path

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

/third_party/python/Lib/distutils/tests/
Dtest_check.py46 self.assertEqual(cmd._warnings, 2)
55 self.assertEqual(cmd._warnings, 0)
63 self.assertEqual(cmd._warnings, 0)
72 self.assertEqual(cmd._warnings, 0)
96 self.assertEqual(cmd._warnings, 1)
109 self.assertEqual(cmd._warnings, 0)
114 self.assertEqual(cmd._warnings, 0)
/third_party/python/Lib/test/support/
Dwarnings_helper.py59 self._warnings = warnings_list
63 if len(self._warnings) > self._last:
64 return getattr(self._warnings[-1], attr)
71 return self._warnings[self._last:]
74 self._last = len(self._warnings)
/third_party/python/Lib/importlib/
D_bootstrap.py33 _warnings = None variable
283 _warnings.warn(msg, DeprecationWarning)
616 _warnings.warn(msg, ImportWarning)
671 _warnings.warn(msg, ImportWarning)
742 _warnings.warn("BuiltinImporter.module_repr() is deprecated and "
764 _warnings.warn("BuiltinImporter.find_module() is deprecated and "
822 _warnings.warn("FrozenImporter.module_repr() is deprecated and "
840 _warnings.warn("FrozenImporter.find_module() is deprecated and "
914 _warnings.warn(msg, ImportWarning)
930 _warnings.warn('sys.meta_path is empty', ImportWarning)
[all …]
D_bootstrap_external.py29 import _warnings
399 _warnings.warn('the debug_override parameter is deprecated; use '
572 _warnings.warn("find_module() is deprecated and "
581 _warnings.warn(msg.format(portions[0]), ImportWarning)
851 _warnings.warn("WindowsRegistryFinder.find_module() is deprecated and "
1282 _warnings.warn("_NamespaceLoader.module_repr() is deprecated and "
1338 _warnings.warn('sys.path_hooks is empty', ImportWarning)
1376 _warnings.warn(msg, ImportWarning)
1381 _warnings.warn(msg, ImportWarning)
1454 _warnings.warn("PathFinder.find_module() is deprecated and "
[all …]
/third_party/python/Lib/distutils/command/
Dcheck.py53 self._warnings = 0
60 self._warnings += 1
76 if self.strict and self._warnings > 0:
/third_party/python/Lib/
Dhmac.py6 import warnings as _warnings namespace
87 _warnings.warn('block_size of %d seems too small; using our '
92 _warnings.warn('No block_size attribute on given digest object; '
Dzipimport.py25 import _warnings # For warn()
122 _warnings.warn("zipimporter.find_loader() is deprecated and slated for "
158 _warnings.warn("zipimporter.find_module() is deprecated and slated for "
283 _warnings.warn(msg, DeprecationWarning)
Dtempfile.py40 import warnings as _warnings namespace
846 _warnings.warn(warn_message, ResourceWarning)
Dwarnings.py518 from _warnings import (filters, _defaultaction, _onceregistry,
/third_party/python/Modules/
Dconfig.c.in54 /* This lives in _warnings.c */
55 {"_warnings", _PyWarnings_Init},
/third_party/python/Tools/c-analyzer/
DTODO202 Python/_warnings.c:is_internal_frame():bootstrap_string static PyObject *bootstrap_string
203 Python/_warnings.c:is_internal_frame():importlib_string static PyObject *importlib_string
477 Python/_warnings.c:PyId_stderr _Py_IDENTIFIER(stderr)
478 Python/_warnings.c:_PyErr_WarnUnawaitedCoroutine():PyId__warn_unawaited_coroutine _Py_IDENTIFIER(_w…
479 Python/_warnings.c:already_warned():PyId_version _Py_IDENTIFIER(version)
480 Python/_warnings.c:call_show_warning():PyId_WarningMessage _Py_IDENTIFIER(WarningMessage)
481 Python/_warnings.c:call_show_warning():PyId__showwarnmsg _Py_IDENTIFIER(_showwarnmsg)
482 Python/_warnings.c:check_matched():PyId_match _Py_IDENTIFIER(match)
483 Python/_warnings.c:get_default_action():PyId_defaultaction _Py_IDENTIFIER(defaultaction)
484 Python/_warnings.c:get_filter():PyId_filters _Py_IDENTIFIER(filters)
[all …]
/third_party/python/Misc/NEWS.d/
D3.7.0a2.rst108 Fix an assertion failure in `_warnings.warn()` in case of a bad ``__name__``
D3.6.4rc1.rst161 Fix an assertion failure in `_warnings.warn()` in case of a bad ``__name__``
D3.10.0a3.rst94 Port the ``_warnings`` extension module to the multi-phase initialization
/third_party/python/Tools/c-analyzer/cpython/
Dignored.tsv776 Python/_warnings.c - warnings_functions -
1478 Python/clinic/_warnings.c.h warnings_warn _parser -
2083 Python/_warnings.c is_internal_frame bootstrap_string -
2085 Python/_warnings.c is_internal_frame importlib_string -
/third_party/python/Doc/library/
Dtest.rst1521 py_warnings = import_fresh_module('warnings', blocked=['_warnings'])
1522 c_warnings = import_fresh_module('warnings', fresh=['_warnings'])
/third_party/python/
DMakefile.pre.in339 Python/_warnings.o \
/third_party/python/Doc/whatsnew/
D3.10.rst1820 now due to the _warnings module was converted to a builtin module in 2.6.
/third_party/python/Misc/
DHISTORY12261 - Issue #9766: Rename poorly named variables exposed by _warnings to prevent
12762 - Issue #8766: Initialize _warnings module before importing the first module.
15093 - Issue #1665206: Remove the last eager import in _warnings.c and make it lazy.
16292 - Issue #3639: The _warnings module could segfault the interpreter when