Searched refs:bytes_warning (Results 1 – 10 of 10) sorted by relevance
/external/python/cpython2/Lib/ |
D | warnings.py | 417 bytes_warning = sys.flags.bytes_warning variable 418 if bytes_warning > 1: 420 elif bytes_warning:
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_case.py | 1139 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/ |
D | test_bytes.py | 23 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/ |
D | main.c | 443 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/ |
D | subprocess.py | 286 bytes_warning = sys.flags.bytes_warning 290 if bytes_warning > 1: 292 elif bytes_warning:
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6b1.rst | 115 sys.flags was not properly exposing its bytes_warning attribute.
|
/external/python/cpython2/Lib/test/ |
D | test_bytes.py | 19 if sys.flags.bytes_warning:
|
/external/python/cpython2/Doc/library/ |
D | sys.rst | 287 :const:`bytes_warning` :option:`-b`
|
/external/python/cpython3/Doc/library/ |
D | sys.rst | 337 :const:`bytes_warning` :option:`-b`
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.2.rst | 491 ignore_environment=0, verbose=0, bytes_warning=0, quiet=1)
|