diff options
author | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-08-26 15:22:43 +0530 |
---|---|---|
committer | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-09-15 19:59:38 +0530 |
commit | 52f84add7746a233f1d4c8904344bef35b8fa2d2 (patch) | |
tree | 05d40d7d8c240ca419fb2803b92e1f675848702c /deps/cares/cares.gyp | |
parent | b9813641dcfda60a1c0035cb385ef0cbbaf9577f (diff) | |
download | android-node-v8-52f84add7746a233f1d4c8904344bef35b8fa2d2.tar.gz android-node-v8-52f84add7746a233f1d4c8904344bef35b8fa2d2.tar.bz2 android-node-v8-52f84add7746a233f1d4c8904344bef35b8fa2d2.zip |
test: fix default value for additional param
In Python, the default values of parameters are evaluated only once
during their declaration. So, whenever the default parameter is used
the same object will be used. Since we use a list, which is a mutable
object, this could lead to unexpected results.
PR-URL: https://github.com/nodejs/node/pull/2553
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'deps/cares/cares.gyp')
0 files changed, 0 insertions, 0 deletions