[issue10779] Change filename encoding to FS encoding in PyErr_WarnExplicit()

2010-12-27 Thread STINNER Victor
STINNER Victor added the comment: Fixed by r87517. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-

[issue10779] Change filename encoding to FS encoding in PyErr_WarnExplicit()

2010-12-26 Thread STINNER Victor
New submission from STINNER Victor : PyErr_WarnExplicit() expects a filename encoded to UTF-8. This function is only called twice in the Python interpreter: compiler_assert() (with "assertion is always true, perhaps remove parentheses?") and symtable_warn() (eg. with "name 'xxx' is assigned to