﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
37102	CountsDict.__init__() passes *kwargs instead of **kwargs to super().__init__()	SHYXIN		"  The CountsDict class in django/utils/html.py has a bug in its __init__ method:

  class CountsDict(dict):
      def __init__(self, *args, word, **kwargs):
          super().__init__(*args, *kwargs)  # BUG: should be **kwargs
          self.word = word

  The call uses *kwargs (positional unpacking) instead of **kwargs (keyword unpacking). Currently this never triggers because CountsDict is only called with     
  word=middle, but it would fail if any keyword arguments were passed.

  The fix is to change *kwargs to **kwargs on line 281."	Bug	new	Utilities	6.0	Normal			SHYXIN	Unreviewed	0	0	0	0	0	0
