Message 188399 - Python tracker

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.

Content
There is a problem. Adding the encoding comment to the top of the source causes off-by-one line errors in the traceback.

Take as an example:

>>> 1/0

Traceback (most recent call last):
  File "<pyshell#0>", line 2, in <module>
ZeroDivisionError: integer division or modulo by zero
>>>