STINNER Victor added the comment: py_compile.compile() has been modified in Python 3.4. The encoding is now detected in the try/except block.
You should write a unit test for your patch. http://docs.python.org/devguide/runtests.html#writing ---------- nosy: +haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19447> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com