bpo-32573: Handle the case when sys.argv is not set by uellue · Pull Request #12463 · python/cpython
I encountered a situation where `sys.argv` wasn't set when using Python as an embedded interpreter. The proposed update will avoid an AttributeError in that case. If sys.argv is set, it should not change behavior. There's discussions related to correct behavior in this case: https://bugs.python.org/issue32573 Is this proposed update to spawn.py the correct fix, or should the embedded case be handled differently, somehow?
uellue
changed the title
Handle the case when sys.argv is not set
bop-32573 Handle the case when sys.argv is not set
csabella
changed the title
bop-32573 Handle the case when sys.argv is not set
bpo-32573: Handle the case when sys.argv is not set
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters