[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-14 Thread Ned Deily
Ned Deily added the comment: Sorry, my previous response was incomplete and I closed this prematurely. Re-opening. -- resolution: duplicate -> stage: resolved -> status: closed -> open superseder: Python '--help' has corrupted text. -> ___ Pytho

[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-14 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg375424 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-14 Thread Ned Deily
Ned Deily added the comment: The topics file is regenerated by the release manager immediately before tagging a new release. That's what all those commits are. The commands to do so are: cd Doc make venv pydoc-topcs cp build/pydoc-topics/topics.py ../Lib/pydoc_data/topics.py So, once the

[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Pydoc uses the backslashreplace error handler for characters not encodable with the output encoding (see issue21398 and issue23374). $ LC_ALL=uk_UA.koi8-u ./python -c "help('async')" [...] [2] A string literal appearing as the first statement in the fu

[issue41527] smart quotes in Lib/pydoc_data/topics.py file

2020-08-11 Thread Karthikeyan Singaravelan
New submission from Karthikeyan Singaravelan : Similar to issue41525 the generated file seems to contain smart quotes. This is used in help utility of the repl to explore different topics. git log -G'“' Lib/pydoc_data/topics.py | cat commit bc1c8af8ef2563802767404c78c8ec6d6a967897 Author: Łukas