diff options
author | Meador Inge <meadori@gmail.com> | 2013-04-13 20:29:49 -0500 |
---|---|---|
committer | Meador Inge <meadori@gmail.com> | 2013-04-13 20:29:49 -0500 |
commit | 288a188e17710ace70d62df79ddffd476329375f (patch) | |
tree | 30bf4c8d6e995b6914deaf66a56360f4e45b8fa7 /Python/pythonrun.c | |
parent | 8ef19c46388b43759045e73e6c9f628f452bbf81 (diff) | |
download | cpython-288a188e17710ace70d62df79ddffd476329375f.tar.gz |
Issue #16804: Fix 'python -S -m site' failure.
This commit fixes a bug in the 'site' module that was causing an exception
to incorrectly be thrown when running 'python -S -m site'. The problem was
that 'USER_BASE' and 'USER_SITE' were being accessed before they were properly
initialized. The code has been changed to use 'getuserbase' and
'getusersitepackages' instead so that the initialization always happens.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions