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 421400a commit bc6fef1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pyperf/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ def create_environ(inherit_environ, locale, copy_all):
if copy_all:
return os.environ
env = {}
copy_env = ["PATH", "HOME", "TEMP", "COMSPEC", "SystemRoot", "SystemDrive"]
# Python specific variables
copy_env.extend(["PYTHONPATH", "PYTHON_CPU_COUNT", "PYTHON_GIL"])
copy_env = ["PATH", "HOME", "TEMP", "COMSPEC", "SystemRoot", "SystemDrive",
# Python specific variables
"PYTHONPATH", "PYTHON_CPU_COUNT", "PYTHON_GIL"]
if locale:
copy_env.extend(('LANG', 'LC_ADDRESS', 'LC_ALL', 'LC_COLLATE',
'LC_CTYPE', 'LC_IDENTIFICATION', 'LC_MEASUREMENT',
Expand Down

0 comments on commit bc6fef1

Please sign in to comment.