-
- Downloads
There was an error fetching the commit references. Please try again later.
New warning: shallow copy of os.environ (#1733)
Shallow copy of os.environ doesn't work as people may expect. os.environ is not a dict object but rather a proxy object, so any changes made on the copy may have unexpected effects on os.environ Instead of copy.copy(os.environ) method os.environ.copy() should be used. Message id is: `shallow-copy-environ` See https://bugs.python.org/issue15373 for details. Resolves: #1301
Showing
- CONTRIBUTORS.txt 3 additions, 0 deletionsCONTRIBUTORS.txt
- ChangeLog 13 additions, 0 deletionsChangeLog
- doc/whatsnew/1.8.rst 23 additions, 0 deletionsdoc/whatsnew/1.8.rst
- pylint/checkers/stdlib.py 19 additions, 1 deletionpylint/checkers/stdlib.py
- pylint/test/unittest_checker_stdlib.py 58 additions, 1 deletionpylint/test/unittest_checker_stdlib.py
Please register or sign in to comment