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 27546 Replace hardcoded class names in __repr__-methods Mads Jensen Adiyat Mubarak "I noticed there are a few places where {{{__repr__}}} does not use {{{self.__class__.__name__}}}. I think this is a small clean-up that would make sense to do, but perhaps there was a good reason not to do that (probably they're never subclassed?). The following output is from grep: {{{ django/db/models/query.py: return """" % self.query django/db/models/sql/query.py: return """" % self django/db/migrations/state.py: return """" % (self.app_label, self.name) django/utils/baseconv.py: return """" % (len(self.digits), self.digits) django/core/management/commands/makemessages.py: return """" % os.sep.join([self.dirpath, self.file]) django/core/serializers/base.py: return """" % ( }}}" Cleanup/optimization closed Core (Other) 1.10 Normal fixed Accepted 1 0 0 0 1 0