Use ‘UTF-8’ as a default source file encoding (PEP 3120)
Bug #881109 reported by
Denis Zawada
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
awkwardduet |
Triaged
|
High
|
Denis Zawada |
Bug Description
Python 3 uses ‘UTF-8’ as its default source file encoding [1], rather than ASCII.
Unless different encoding is explicitly specified, set utf-8 explicitly by adding the "#encoding: utf-8" manifest to the top of the file.
summary: |
- Use ‘UTF-8’ as a default source file encoding + Use ‘UTF-8’ as a default source file encoding (PEP 3120) |
Changed in awkwardduet: | |
status: | Triaged → In Progress |
assignee: | nobody → Denis Zawada (ohdeno) |
Changed in awkwardduet: | |
status: | In Progress → New |
status: | New → Confirmed |
Changed in awkwardduet: | |
milestone: | 1.1a2 → 1.1a3 |
Changed in awkwardduet: | |
importance: | Wishlist → High |
To post a comment you must log in.
The issue is that comments are scrubbed from AST, so there’s really no easy way to add this without hacking lib2to3. I don’t really have time to try to fix this now.