This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author barry
Recipients barry, christian.heimes, vstinner
Date 2018-06-22.18:13:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <0442D9D6-B1EC-4CB8-9BAF-F819071DB8C4@python.org>
In-reply-to <1529651081.24.0.56676864532.issue33919@psf.upfronthosting.co.za>
Content
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 <report@bugs.python.org> 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.
History
Date User Action Args
2018-06-22 18:13:28barrysetrecipients: + barry, vstinner, christian.heimes
2018-06-22 18:13:28barrylinkissue33919 messages
2018-06-22 18:13:28barrycreate