This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 2to3 could remove "-*- coding: utf-8 -*-"
Type: enhancement Stage:
Components: 2to3 (2.x to 3.x conversion tool) Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, flox, georg.brandl
Priority: low Keywords:

Created on 2010-08-29 19:48 by flox, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg115191 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2010-08-29 19:48
According to PEP8, "Files using ASCII (or UTF-8, for Python 3.0) should not have a coding cookie."
msg115192 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-08-29 19:49
They're also harmless.
msg115193 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2010-08-29 19:51
Hmm, actually I don't see a rationale for this, even if it doesn't give Python any useful information, it serves that purpose for editors.
msg115468 - (view) Author: Florent Xicluna (flox) * (Python committer) Date: 2010-09-03 16:56
PEP8 fixed with r84354
History
Date User Action Args
2022-04-11 14:57:05adminsetgithub: 53919
2010-09-03 16:56:21floxsetmessages: + msg115468
2010-08-29 19:51:30georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg115193

resolution: rejected
2010-08-29 19:49:31benjamin.petersonsetpriority: normal -> low
nosy: + benjamin.peterson
messages: + msg115192

2010-08-29 19:48:08floxcreate