Home
last modified time | relevance | path

Searched refs:dev_mode (Results 1 – 18 of 18) sorted by relevance

/third_party/python/Python/
Dpreconfig.c140 COPY_ATTR(dev_mode); in precmdline_get_preconfig()
154 COPY_ATTR(dev_mode); in precmdline_set_preconfig()
173 COPY_ATTR(dev_mode); in _PyPreCmdline_SetConfig()
252 if ((cmdline->dev_mode < 0) in _PyPreCmdline_Read()
256 cmdline->dev_mode = 1; in _PyPreCmdline_Read()
258 if (cmdline->dev_mode < 0) { in _PyPreCmdline_Read()
259 cmdline->dev_mode = 0; in _PyPreCmdline_Read()
264 assert(cmdline->dev_mode >= 0); in _PyPreCmdline_Read()
293 config->dev_mode = -1; in _PyPreConfig_InitCompatConfig()
332 config->dev_mode = 0; in PyPreConfig_InitIsolatedConfig()
[all …]
Dinitconfig.c627 config->dev_mode = -1; in _PyConfig_InitCompatConfig()
707 config->dev_mode = 0; in PyConfig_InitIsolatedConfig()
815 COPY_ATTR(dev_mode); in _PyConfig_Copy()
922 SET_ITEM_INT(dev_mode); in config_as_dict()
1829 if (config->dev_mode) { in config_read()
1935 preconfig->dev_mode = config->dev_mode; in _PyConfig_Write()
2255 if (config->dev_mode) { in config_init_warnoptions()
2614 assert(config->dev_mode >= 0); in PyConfig_Read()
Dsysmodule.c2529 PyStructSequence_SET_ITEM(seq, pos++, PyBool_FromLong(config->dev_mode)); in make_flags()
/third_party/python/Include/internal/
Dpycore_initconfig.h102 int dev_mode; /* -X dev and PYTHONDEVMODE */ member
109 .dev_mode = -1}
/third_party/python/Include/cpython/
Dinitconfig.h120 int dev_mode; member
138 int dev_mode; /* Python Development Mode? See PyPreConfig.dev_mode */ member
/third_party/python/Lib/test/
Dtest_embed.py335 dev_mode=0,
428 dev_mode=0,
848 config = dict(dev_mode=1,
856 config = dict(dev_mode=1,
Dtest_io.py74 IOBASE_EMITS_UNRAISABLE = (hasattr(sys, "gettotalrefcount") or sys.flags.dev_mode)
/third_party/python/Lib/asyncio/
Dcoroutines.py29 return sys.flags.dev_mode or (not sys.flags.ignore_environment and
/third_party/python/Programs/
D_testembed.c1041 config.dev_mode = 1; in test_init_dev_mode()
1490 config.dev_mode = 1; in test_init_warnoptions()
/third_party/python/Lib/
Dsubprocess.py314 dev_mode = ('dev' in xoptions)
320 if dev_mode:
326 if dev_mode:
D_pyio.py38 _IOBASE_EMITS_UNRAISABLE = (hasattr(sys, "gettotalrefcount") or sys.flags.dev_mode)
/third_party/python/Doc/c-api/
Dinit_config.rst248 .. c:member:: int dev_mode
250 See :c:member:`PyConfig.dev_mode`.
404 * :c:member:`~PyConfig.dev_mode`
476 .. c:member:: int dev_mode
/third_party/python/Modules/_io/
Diobase.c290 if (_Py_GetConfig()->dev_mode) { in iobase_finalize()
Dtextio.c1001 if (!_PyInterpreterState_GetConfig(interp)->dev_mode) { in io_check_errors()
/third_party/python/Doc/library/
Ddevmode.rst82 * Set the :attr:`~sys.flags.dev_mode` attribute of :attr:`sys.flags` to
Dsys.rst464 :const:`dev_mode` :option:`-X dev <-X>` (:ref:`Python Development Mode <devmode>`)
482 Added the ``dev_mode`` attribute for the new :ref:`Python Development
/third_party/python/Objects/
Dunicodeobject.c458 if (!_PyInterpreterState_GetConfig(interp)->dev_mode) { in unicode_check_encoding_errors()
/third_party/python/Misc/
DNEWS12468 - bpo-321010: Add :attr:`sys.flags.dev_mode` flag