title: Best practice for setting the default value of a parameter that's supposed to be a list in Python?
body: <p>I have a Python function that takes a list as a parameter. If I set the parameter's default value to an empty list like this:</p>
  
  <pre><code>def func(items=[]):
      print items
  </code></pre>
  
  <p>Pylint would tell me "Dangerous default value [] as argument". So I was wondering what is the best practice here?</p>