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 <rep...@bugs.python.org>
<http://bugs.python.org/issue28923>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to