[New-bugs-announce] [issue28923] Nonexisting encoding specified in Tix.py

Ivan Pozdeev report at bugs.python.org
Fri Dec 9 12:21:10 EST 2016


New submission from Ivan Pozdeev:

$ head 'c:\Py\Lib\lib-tk\Tix.py' -n 1
# -*-mode: python; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-

There's no "iso-latin-1-unix" encoding in Python, so this declaration produces an error in some code analysis tools (I have it in PyScripter), as it should according to PEP263 .

In 3.x, this was fixed in changeset d63344ba187888b6792ba8362a0dd09e06ed2f9a .

----------
components: Library (Lib)
files: 105052.patch
keywords: patch
messages: 282791
nosy: Ivan.Pozdeev
priority: normal
severity: normal
status: open
title: Nonexisting encoding specified in Tix.py
type: compile error
versions: Python 2.7
Added file: http://bugs.python.org/file45819/105052.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28923>
_______________________________________


More information about the New-bugs-announce mailing list