[issue27728] HTTPConnection.requests has a mutable as default value for headers

Stéphane Wirtel report at bugs.python.org
Wed Aug 10 15:20:50 EDT 2016


Stéphane Wirtel added the comment:

Thanks R.David.Murray,

@SilentGhost in fact, in this code, it's not an issue but we use a bad practice and not a good practice with a mutable value.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27728>
_______________________________________


More information about the Python-bugs-list mailing list