New submission from Christian Heimes: $ ./python -bb Lib/compileall.py Listing /home/heimes/dev/python/py3k/Lib ... Compiling /home/heimes/dev/python/py3k/Lib/pydoc.py ... Traceback (most recent call last): File "Lib/compileall.py", line 162, in <module> exit_status = int(not main()) File "Lib/compileall.py", line 155, in main success = compile_path() File "Lib/compileall.py", line 110, in compile_path force, quiet=quiet) File "Lib/compileall.py", line 65, in compile_dir ok = py_compile.compile(fullname, None, dfile, True) File "/home/heimes/dev/python/py3k/Lib/py_compile.py", line 131, in compile encoding = read_encoding(file, "utf-8") File "/home/heimes/dev/python/py3k/Lib/py_compile.py", line 91, in read_encoding return str(m.group(1)) File "/home/heimes/dev/python/py3k/Lib/warnings.py", line 62, in warn globals) File "/home/heimes/dev/python/py3k/Lib/warnings.py", line 102, in warn_explicit raise message BytesWarning: str() on a bytes instance
---------- assignee: tiran components: Library (Lib) keywords: patch messages: 57245 nosy: tiran priority: high severity: normal status: open title: warnings module bug: BytesWarning: str() on a bytes instance type: behavior versions: Python 3.0 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1404> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com