[New-bugs-announce] [issue7204] Strange shebang line in test_pep263

Thomas Klausner report at bugs.python.org
Sun Oct 25 21:01:49 CET 2009


New submission from Thomas Klausner <tk at giga.or.at>:

In Python-2.6.3, test_pep263.py starts with the following line:
#! -*- coding: koi8-r -*-
When this is executed by a shell, it looks for the interpreter "-*-".
I guess the '!' is superfluous there, or it should be something like
#! /usr/bin/env python
# -*- coding: koi8-r -*-
instead.

----------
components: Tests
messages: 94458
nosy: wiz
severity: normal
status: open
title: Strange shebang line in test_pep263
type: behavior
versions: Python 2.6

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


More information about the New-bugs-announce mailing list