Skip to content

Commit

Permalink
Address code review
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed May 12, 2024
1 parent c82143e commit 421400a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pyperf/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,8 +267,7 @@ def create_environ(inherit_environ, locale, copy_all):
return os.environ
env = {}
copy_env = ["PATH", "HOME", "TEMP", "COMSPEC", "SystemRoot", "SystemDrive"]
# TODO: In the future, maybe we should manage CPython environment variables
# depending on the Python version.
# Python specific variables
copy_env.extend(["PYTHONPATH", "PYTHON_CPU_COUNT", "PYTHON_GIL"])
if locale:
copy_env.extend(('LANG', 'LC_ADDRESS', 'LC_ALL', 'LC_COLLATE',
Expand Down

0 comments on commit 421400a

Please sign in to comment.