[issue4626] compile() doesn't ignore the source encoding when a string is passed in

Benjamin Peterson report at bugs.python.org
Sat Feb 14 19:23:09 CET 2009


Benjamin Peterson <benjamin at python.org> added the comment:

Here's another patch. The one problem is that it causes test_coding to
fail because coding cookies are ignored and not checked to see if they
are the same as the encoding of the file. It seems fine to me to just
skip this test.

----------
keywords: +needs review
Added file: http://bugs.python.org/file13087/tok_ignore_cookie-5.patch

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


More information about the Python-bugs-list mailing list