--
Ticket URL: <https://code.djangoproject.com/ticket/25479>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Comment (by aaugustin):
But it's annoying to have to add the declaration when one introduces a
non-ASCII character in a commit... What about adding this to the list of
cleanups when we drop Python 2?
--
Ticket URL: <https://code.djangoproject.com/ticket/25479#comment:1>
Comment (by timgraham):
I haven't faced that annoyance myself. Instead I have asked many times
during a code review for an unnecessary encoding declaration to be removed
in a new file (often copied from an existing file where it's already not
needed, so I figured this would help eliminate that issue). I suppose the
removal can be automated when dropping Python 2, but we avoid some
unnecessary `git log` entries in new files where encoding is never
required between now and then. Anyway, if others are against ticket, I
won't debate further.
I did add it to the Python 2 cleanup ticket (#23919).
--
Ticket URL: <https://code.djangoproject.com/ticket/25479#comment:2>
Comment (by claudep):
I think this is really a minor issue and we can live with that until we
drop Python 2.
--
Ticket URL: <https://code.djangoproject.com/ticket/25479#comment:3>
* status: new => closed
* resolution: => wontfix
--
Ticket URL: <https://code.djangoproject.com/ticket/25479#comment:4>