#25479: Remove unncessary "# -*- coding: utf-8 -*-" declarations
--------------------------------------+------------------------------------
Reporter: timgraham | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Core (Other) | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
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>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.f37559d7c2a6639b42263b62b2e52f5b%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.