[New-bugs-announce] [issue21431] 3.4.1rc1 test_pydoc fails: pydoc_data.topics.topics values are type "bytes" not "str"
Ned Deily
report at bugs.python.org
Sun May 4 22:10:51 CEST 2014
New submission from Ned Deily:
Something went wrong with the update of pydoc_data topics for 3.4.1rc1. As can be seen in http://hg.python.org/releasing/3.4.1/rev/c67a19e11a71, the values for the topics dict should be strings but were updated as bytes. This causes pydoc topics searches to fail. The process problem needs to be fixed for 3.4.1 final.
An example:
$ /usr/local/bin/pydoc3.4 def
Traceback (most recent call last):
File "/usr/local/bin/pydoc3.4", line 5, in <module>
pydoc.cli()
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/pydoc.py", line 2580, in cli
help.help(arg)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/pydoc.py", line 1860, in help
elif request in self.keywords: self.showtopic(request)
File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/pydoc.py", line 1941, in showtopic
pager(doc.strip() + '\n')
TypeError: can't concat bytes to str
----------
assignee: larry
components: Build
messages: 217887
nosy: georg.brandl, larry, ned.deily
priority: release blocker
severity: normal
status: open
title: 3.4.1rc1 test_pydoc fails: pydoc_data.topics.topics values are type "bytes" not "str"
versions: Python 3.4
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21431>
_______________________________________
More information about the New-bugs-announce
mailing list