Home
last modified time | relevance | path

Searched refs:_warn (Results 1 - 16 of 16) sorted by relevance

/third_party/python/Lib/importlib/metadata/
H A D__init__.py137 _warn = functools.partial( variable in DeprecatedTuple
145 self._warn()
315 _warn = functools.partial( variable in DeprecatedList
324 self._warn()
339 self._warn()
345 self._warn()
435 _warn = functools.partial( variable in Deprecated
443 self._warn()
447 self._warn()
451 self._warn()
[all...]
/third_party/python/Lib/
H A Drandom.py48 from warnings import warn as _warn namespace
253 _warn("Underlying random() generator does not supply \n"
299 _warn('randrange() will raise TypeError in the future',
302 _warn('non-integer arguments to randrange() have been deprecated '
321 _warn('randrange() will raise TypeError in the future',
324 _warn('non-integer arguments to randrange() have been deprecated '
334 _warn('randrange() will raise TypeError in the future',
337 _warn('non-integer arguments to randrange() have been deprecated '
H A Dhashlib.py184 from warnings import warn as _warn namespace
195 _warn(
H A Dsubprocess.py1120 def __del__(self, _maxsize=sys.maxsize, _warn=warnings.warn):
1127 _warn("subprocess %s is still running" % self.pid,
/third_party/python/Lib/idlelib/idle_test/
H A 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)
371 with mock.patch('idlelib.config._warn'):
792 config._warn('warning', 'key')
796 config._warn('warning', 'key')
799 config._warn('warn
[all...]
/third_party/python/Lib/idlelib/
H A 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
/third_party/python/Lib/asyncio/
H A Dwindows_utils.py110 def __del__(self, _warn=warnings.warn):
112 _warn(f"unclosed {self!r}", ResourceWarning, source=self)
H A Dbase_subprocess.py123 def __del__(self, _warn=warnings.warn):
125 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
H A Dunix_events.py568 def __del__(self, _warn=warnings.warn):
570 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
767 def __del__(self, _warn=warnings.warn):
769 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
1381 def __del__(self, _warn=warnings.warn):
1385 _warn(f"{self.__class__} has registered but not finished child processes",
H A Dproactor_events.py114 def __del__(self, _warn=warnings.warn):
116 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
H A Dselector_events.py862 def __del__(self, _warn=warnings.warn):
864 _warn(f"unclosed transport {self!r}", ResourceWarning, source=self)
H A Dbase_events.py690 def __del__(self, _warn=warnings.warn):
692 _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self)
/third_party/python/Lib/distutils/tests/
H A Dtest_dist.py178 def _warn(msg): function
182 warnings.warn = _warn
/third_party/FreeBSD/lib/libc/include/
H A Dnamespace.h44 #define warn _warn
/third_party/python/Lib/multiprocessing/
H A Dpool.py266 def __del__(self, _warn=warnings.warn, RUN=RUN):
268 _warn(f"unclosed running multiprocessing pool {self!r}",
/third_party/mesa3d/src/compiler/glsl/
H A Dglsl_parser_extras.cpp642 &_mesa_glsl_parse_state::NAME##_warn }
647 &_mesa_glsl_parse_state::NAME##_warn }

Completed in 20 milliseconds