Message320250
Thanks for the hint! I had a feeling there had to be an API to get at it, but I couldn’t find it. Maybe we should start documenting the Python Secret Underscore API? :)
On Jun 22, 2018, at 00:04, STINNER Victor <[email protected]> wrote:
>
> _PyCoreConfig *core_config = &_PyGILState_GetInterpreterStateUnsafe()->core_config;
> ...
> PyStructSequence_SET_ITEM(seq, pos++, PyBool_FromLong(core_config->dev_mode));
>
> The interpreter really owns the copy of these configs and they are kept until the interpreter object is destroyed. |
|
| Date |
User |
Action |
Args |
| 2018-06-22 18:13:28 | barry | set | recipients:
+ barry, vstinner, christian.heimes |
| 2018-06-22 18:13:28 | barry | link | issue33919 messages |
| 2018-06-22 18:13:28 | barry | create | |
|