[docs] [issue32573] All sys attributes (.argv, ...) should exist in embedded environments
Terry J. Reedy
report at bugs.python.org
Fri Jan 19 15:51:37 EST 2018
Terry J. Reedy <tjreedy at udel.edu> added the comment:
Pedro: David and Nick are proposing initializing sys.argv to [] rather than [''] for embedded interpreters. This would say 'running embedded'. The .argv entry would need an additional sentence.
I like Nick's proposal, except that _xoptions should be {}. Documenting absence should only be a fallback is there is no sensible default.
----------
components: +Library (Lib) -Documentation
nosy: +terry.reedy
title: sys.argv documentation should include caveat for embedded environments -> All sys attributes (.argv, ...) should exist in embedded environments
versions: +Python 3.8 -Python 2.7, Python 3.4, Python 3.5, Python 3.6
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32573>
_______________________________________
More information about the docs
mailing list