You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./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
returnstr(m.group(1))
File "/home/heimes/dev/python/py3k/Lib/warnings.py", line 62, in warnglobals)
File "/home/heimes/dev/python/py3k/Lib/warnings.py", line 102, in
warn_explicit
raise message
BytesWarning: str() on a bytes instance
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: