Home
last modified time | relevance | path

Searched refs:bytes_warning (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Lib/
Dwarnings.py417 bytes_warning = sys.flags.bytes_warning variable
418 if bytes_warning > 1:
420 elif bytes_warning:
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py1139 if sys.flags.bytes_warning:
1140 def bytes_warning(): function
1144 def bytes_warning(): function
1147 with bytes_warning(), self.assertRaises(self.failureException):
1149 with bytes_warning():
1154 with bytes_warning(), self.assertRaises(self.failureException):
1156 with bytes_warning(), self.assertRaises(self.failureException):
1158 with bytes_warning(), self.assertRaises(self.failureException):
1160 with bytes_warning(), self.assertRaises(self.failureException):
1162 with bytes_warning(), self.assertRaises(self.failureException):
[all …]
/external/python/cpython3/Lib/test/
Dtest_bytes.py23 if sys.flags.bytes_warning:
1634 @unittest.skipUnless(sys.flags.bytes_warning,
1637 def bytes_warning(): function
1639 with bytes_warning():
1641 with bytes_warning():
1643 with bytes_warning():
1645 with bytes_warning():
1647 with bytes_warning():
1649 with bytes_warning():
1651 with bytes_warning():
[all …]
/external/python/cpython3/Modules/
Dmain.c443 int bytes_warning; /* Py_BytesWarningFlag, -b */ member
796 cmdline->bytes_warning++; in pymain_parse_cmdline_impl()
1030 if (cmdline->bytes_warning) { in config_init_warnoptions()
1032 if (cmdline->bytes_warning> 1) { in config_init_warnoptions()
1473 cmdline->bytes_warning = Py_BytesWarningFlag; in cmdline_get_global_config()
1509 Py_BytesWarningFlag = cmdline->bytes_warning; in cmdline_set_global_config()
/external/python/cpython3/Lib/
Dsubprocess.py286 bytes_warning = sys.flags.bytes_warning
290 if bytes_warning > 1:
292 elif bytes_warning:
/external/python/cpython2/Misc/NEWS.d/
D2.6b1.rst115 sys.flags was not properly exposing its bytes_warning attribute.
/external/python/cpython2/Lib/test/
Dtest_bytes.py19 if sys.flags.bytes_warning:
/external/python/cpython2/Doc/library/
Dsys.rst287 :const:`bytes_warning` :option:`-b`
/external/python/cpython3/Doc/library/
Dsys.rst337 :const:`bytes_warning` :option:`-b`
/external/python/cpython3/Doc/whatsnew/
D3.2.rst491 ignore_environment=0, verbose=0, bytes_warning=0, quiet=1)