Home
last modified time | relevance | path

Searched refs:_warn (Results 1 – 23 of 23) sorted by relevance

/external/python/cpython3/Lib/importlib/metadata/
D__init__.py269 _warn = functools.partial( variable in DeprecatedList
277 self._warn()
281 self._warn()
285 self._warn()
289 self._warn()
293 self._warn()
297 self._warn()
301 self._warn()
305 self._warn()
310 self._warn()
[all …]
/external/python/cpython3/Lib/
Drandom.py48 from warnings import warn as _warn unknown
160 _warn('Seeding based on hashing is deprecated\n'
259 _warn("Underlying random() generator does not supply \n"
307 _warn('randrange() will raise TypeError in the future',
310 _warn('non-integer arguments to randrange() have been deprecated '
329 _warn('randrange() will raise TypeError in the future',
332 _warn('non-integer arguments to randrange() have been deprecated '
342 _warn('randrange() will raise TypeError in the future',
345 _warn('non-integer arguments to randrange() have been deprecated '
396 _warn('The *random* parameter to shuffle() has been deprecated\n'
[all …]
Dhashlib.py184 from warnings import warn as _warn unknown
195 _warn(
Dsubprocess.py1060 def __del__(self, _maxsize=sys.maxsize, _warn=warnings.warn): argument
1067 _warn("subprocess %s is still running" % self.pid,
/external/python/setuptools/setuptools/_vendor/importlib_metadata/
D__init__.py142 _warn = functools.partial( variable in DeprecatedTuple
150 self._warn()
288 _warn = functools.partial( variable in DeprecatedList
297 self._warn()
312 self._warn()
318 self._warn()
408 _warn = functools.partial( variable in Deprecated
416 self._warn()
420 self._warn()
424 self._warn()
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_config.py197 cls.orig_warn = config._warn
198 config._warn = Func()
202 config._warn = cls.orig_warn
328 with mock.patch('idlelib.config._warn') as _warn:
332 eq(_warn.call_count, 4)
792 config._warn('warning', 'key')
796 config._warn('warning', 'key')
799 config._warn('warn2', 'yek')
/external/python/cpython3/Lib/idlelib/
Dconfig.py237 _warn(warning, configType, section, option)
251 _warn(warning, configType, section, option)
352 _warn(warning, 'highlight', themeName, element)
669 _warn(warning, 'keys', keySetName)
684 _warn(warning, 'keys', keySetName, event)
769 def _warn(msg, *key): function
/external/python/cpython3/Lib/asyncio/
Dwindows_utils.py110 def __del__(self, _warn=warnings.warn): argument
112 _warn(f"unclosed {self!r}", ResourceWarning, source=self)
Dbase_subprocess.py123 def __del__(self, _warn=warnings.warn): argument
125 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
Dunix_events.py548 def __del__(self, _warn=warnings.warn): argument
550 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
747 def __del__(self, _warn=warnings.warn): argument
749 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
1362 def __del__(self, _warn=warnings.warn): argument
1366 _warn(f"{self.__class__} has registered but not finished child processes",
Dsslproto.py318 def __del__(self, _warn=warnings.warn): argument
320 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
Dproactor_events.py113 def __del__(self, _warn=warnings.warn): argument
115 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
Dselector_events.py699 def __del__(self, _warn=warnings.warn): argument
701 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
Dbase_events.py683 def __del__(self, _warn=warnings.warn): argument
685 _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self)
/external/python/cpython2/Lib/distutils/tests/
Dtest_dist.py166 def _warn(msg): function
170 warnings.warn = _warn
/external/python/setuptools/setuptools/_distutils/tests/
Dtest_dist.py182 def _warn(msg): function
186 warnings.warn = _warn
/external/python/cpython3/Lib/distutils/tests/
Dtest_dist.py178 def _warn(msg): function
182 warnings.warn = _warn
/external/tensorflow/tensorflow/python/keras/layers/
Dcore.py948 self._warn(textwrap.dedent(
959 def _warn(self, msg): member in Lambda
1427 self._warn(textwrap.dedent(
1438 def _warn(self, msg): member in TFOpLambda
/external/python/cpython2/Lib/
Drandom.py43 from warnings import warn as _warn unknown
269 _warn("Underlying random() generator does not supply \n"
/external/bazelbuild-rules_android/rules/
Dutils.bzl234 def _warn(msg):
462 warn = _warn,
/external/python/cpython3/Lib/multiprocessing/
Dpool.py263 def __del__(self, _warn=warnings.warn, RUN=RUN): argument
265 _warn(f"unclosed running multiprocessing pool {self!r}",
/external/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.cpp623 &_mesa_glsl_parse_state::NAME##_warn }
628 &_mesa_glsl_parse_state::NAME##_warn }
/external/tensorflow/tensorflow/python/ops/parallel_for/
Dpfor.py1320 self._warn = warn
1608 _fallback_converter, root_cause=root_cause, warn=self._warn)