[issue36754] Remove smart quotes in pydoc text

2019-05-06 Thread Steve Dower
Steve Dower added the comment: So pydoc_topics.py is an auto-generated file, which means we need to fix the generator as well if we decide to go that route. However, I suspect there's a problem somewhere else causing the console output to not go through stdout correctly. I'm not familiar

[issue36754] Remove smart quotes in pydoc text

2019-05-06 Thread Dustin Mendoza
Dustin Mendoza added the comment: In my editor (VSCode) on windows it outputs correctly as a smart quote but if I write the output to a file or the console I get the "Æ" effect. A sent a PR to replace the smart quotes with escaped quotes but I wonder if we should also do a scan across

[issue36754] Remove smart quotes in pydoc text

2019-05-06 Thread Dustin Mendoza
Change by Dustin Mendoza : -- keywords: +patch pull_requests: +13041 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue36754] Remove smart quotes in pydoc text

2019-04-29 Thread Steve Dower
Steve Dower added the comment: > mismatch in encodings Also likely. I haven't looked into how pydoc does its rendering, but certainly Python 3.7 on Windows should be able to print regular Unicode. Perhaps it's not going through stdout for some reason? --

[issue36754] Remove smart quotes in pydoc text

2019-04-29 Thread Steven D'Aprano
Steven D'Aprano added the comment: > Not all console configurations can correctly render smart quotes in > help() text. See the "Æ" in "superclass's" below. That suggests to me a mismatch in encodings, rather than inability to render curly quotes at all. It's 2019 and surely we don't have to

[issue36754] Remove smart quotes in pydoc text

2019-04-29 Thread Steve Dower
New submission from Steve Dower : Not all console configurations can correctly render smart quotes in help() text. See the "Æ" in "superclass's" below. When building for pydoc-topics, it would be ideal to disable smart quotes. (I'm assuming from issue31793 that this can be done in