commit | b341a3bbf9c30a3bd509fdfb76732934d47310ff | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Sat Feb 15 15:18:17 2020 -0800 |
committer | Dan Willemsen <dwillemsen@google.com> | Sat Feb 15 15:18:17 2020 -0800 |
tree | 0a7b7ef1b2af8a7a9c65ccdc1c89638933ddd121 | |
parent | ba65eede189bda8a149964ef862f03fd3245dc2c [diff] |
Fix argv handling We were parsing argv twice, which lead to dropping arguments. Once in PyConfig_Read, then again in Py_InitializeFromConfig. Test: py3-cmd -c "import sys; print(sys.argv)" Test: build/soong/python/tests/runtest.sh Change-Id: I0661fdab20b352efad8fdfa553f228e21e248e69