Issue2802

classification
Title: PEP 0263 magic coding comment rejected in UTF-8
Type: behaviour Severity: normal
Components: Core Versions: Jython 2.7
Milestone:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: rhwood
Priority: Keywords:

Created on 2019-09-20.10:02:53 by rhwood, last changed 2019-09-20.10:02:53 by rhwood.

Messages
msg12658 (view) Author: Randall Wood (rhwood) Date: 2019-09-20.10:02:53
src/org/python/core/ParserFacade.java rejects any PEP 0263 magic coding comment in a UTF-8 input (lines 314-316). In that case, should it not accept the magic coding comment that indicates the input is UTF-8 (i.e. should the comment "# -*- coding: utf-8 -*-" not be rejected)?
History
Date User Action Args
2019-09-20 10:02:54rhwoodcreate