shallow-copy-environ / W1507#

Message emitted:

Using copy.copy(os.environ). Use os.environ.copy() instead.


os.environ is not a dict object but proxy object, so shallow copy has still effects on original object. See for reference.

Correct code:

# This is a placeholder for correct code for this message.

Additional details:

You can help us make the doc better by contributing !

Created by the stdlib checker.