STINNER Victor <[EMAIL PROTECTED]> added the comment: exec() doesn't work if the argument is an unicode string. Here is a workaround for the profile module (open the file in binary mode), but it doesn't fix the exec() problem.
---------- keywords: +patch nosy: +haypo Added file: http://bugs.python.org/file11971/profile_encoding.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4282> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com