[Patches] [ python-Patches-1031213 ] Patch for bug #780725
SourceForge.net
noreply at sourceforge.net
Mon Sep 20 15:37:30 CEST 2004
Patches item #1031213, was opened at 2004-09-20 22:37
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1031213&group_id=5470
Category: Parser/Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: atsuo ishimoto (ishimoto)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for bug #780725
Initial Comment:
When SyntaxError occurs and the module contains
source encodings definition, current implementation
prints error line in UTF8. This patch reverts the line into
original encoding for printing.
This patch calls some memory-allocation APIs such as
PyUnicode_DecodeUTF8. I'm not sure I can (or should)
call PyErr_Clear() here if error happened.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1031213&group_id=5470
More information about the Patches
mailing list