commit | fc96e5474a7bda1c5dec66420e4467fc9f7ca968 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Tue Mar 19 18:22:55 2019 +0100 |
committer | GitHub <noreply@github.com> | Tue Mar 19 18:22:55 2019 +0100 |
tree | f7cc2bb845dd9b582b2dd47770c2ff7995c6ccfa | |
parent | cb90c89de14aab636739b3e810cf949e47b54a0c [diff] |
bpo-36236: Fix _PyPathConfig_ComputeSysPath0() for empty argv (GH-12441) * _PyPathConfig_ComputeSysPath0() now returns 0 if argv is empty. * Cleanup also _PyPathConfig_ComputeSysPath0() code: move variables definitions closer to where they are used.