[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. -> ___

[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

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

2020-08-14 Thread Ned Deily
the smart quotes are removed from the source files (Issue41525), the smart quotes will disappear from the topics file at the next (pre-)release. You can hurry things along by running and merging the topics file manually. -- nosy: +ned.deily resolution: -> duplicate stage: -> re

[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

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

2020-08-12 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

[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 s

[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 201

[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 t

[issue36219] Add edit option in IDLE to convert smart quotes to ascii quotes

2019-03-07 Thread Cheryl Sabella
some smart quotes on Windows and it pasted as \u2018\u2018 (two single left quotations marks) and \u2019\u2019 (two single right quotation marks) instead of \u201C (double left) and \u201D (double right). \u0060 (grave accent) and \u00B4 (acute accent) also seem to be possible values

[issue36219] Add edit option in IDLE to convert smart quotes to ascii quotes

2019-03-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Also dashes and hyphens to minuses and non-breaking spaces to normal spaces. -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue36219] Add edit option in IDLE to convert smart quotes to ascii quotes

2019-03-06 Thread Raymond Hettinger
New submission from Raymond Hettinger : Some of my students routinely have to copy code samples from PDF documents where the regular Python acceptable ASCII quotation marks have been replaced by smart quotes. Let's add an Edit menu option to fix smart-quotes. -- assignee

[issue31793] Allow to specialize smart quotes in documentation translations

2018-11-05 Thread Julien Palard
Change by Julien Palard : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31793] Allow to specialize smart quotes in documentation translations

2018-03-23 Thread Julien Palard
Julien Palard <julien+pyt...@palard.fr> added the comment: Reopening as smart quotes is still a source of bugs in Japanese translation, see: https://github.com/python/docsbuild-scripts/issues/32#issuecomment-375801129 -- status: closed -

[issue31793] Allow to specialize smart quotes in documentation translations

2017-11-07 Thread INADA Naoki
INADA Naoki added the comment: Thanks, Julien. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 2.7 ___ Python tracker

[issue31793] Allow to specialize smart quotes in documentation translations

2017-11-07 Thread INADA Naoki
INADA Naoki <songofaca...@gmail.com> added the comment: New changeset 64f10492dcda4117ac06399ae46ab645cb09b19e by INADA Naoki (Miss Islington (bot)) in branch '3.6': bpo-31793: Doc: Specialize smart-quotes for Japanese (GH-4006) https://github.com/python/cpython/

[issue31793] Allow to specialize smart quotes in documentation translations

2017-11-07 Thread INADA Naoki
INADA Naoki <songofaca...@gmail.com> added the comment: New changeset 47eaaa55247b6ad8ae507c0048509c2e3db79bf0 by INADA Naoki (Miss Islington (bot)) in branch '2.7': bpo-31793: Doc: Specialize smart-quotes for Japanese (GH-4006) https://github.com/python/cpython/

[issue31793] Allow to specialize smart quotes in documentation translations

2017-11-07 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4282 ___ Python tracker ___

[issue31793] Allow to specialize smart quotes in documentation translations

2017-11-07 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +4281 ___ Python tracker ___

[issue31793] Allow to specialize smart quotes in documentation translations

2017-11-07 Thread INADA Naoki
INADA Naoki <songofaca...@gmail.com> added the comment: New changeset 5a66c8a64d180b5f3c80307924adaec53cc8faa3 by INADA Naoki (Julien Palard) in branch 'master': bpo-31793: Doc: Specialize smart-quotes for Japanese (GH-4006) https://github.com/python/cpython/

[issue31793] Allow to specialize smart quotes in documentation translations

2017-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Patch is trivial two lines but needs review and merge from someone familiar with Sphinx stuff. [Éric, https://docs.python.org/devguide/experts.html contains the invalid Eric.Araujo] -- nosy: +ezio.melotti, merwok, terry.reedy,

[issue31793] Allow to specialize smart quotes in documentation translations

2017-10-15 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +3980 stage: -> patch review ___ Python tracker ___

[issue31793] Allow to specialize smart quotes in documentation translations

2017-10-15 Thread Julien Palard
New submission from Julien Palard <julien+pyt...@palard.fr>: It would be great to allow each translation to specify their smart-quotes configuration, typically Japanese prefer no smart-quotes: - https://github.com/python/docsbuild-scripts/issues/32 It's easily done by adding

Re: smart quotes

2008-08-26 Thread Peter Otten
Adrian Smith wrote: Can anyone tell me how to get rid of smart quotes in html using Python? I've tried variations on stuff = string.replace(stuff, \“, \), but to no avail, presumably because they're not standard ASCII. Convert the string to unicode. For that you have to know its encoding. I

Re: smart quotes

2008-08-26 Thread Adrian Smith
On Aug 26, 4:13 pm, Peter Otten [EMAIL PROTECTED] wrote: Adrian Smith wrote: Can anyone tell me how to get rid of smart quotes in html using Python? I've tried variations on stuff = string.replace(stuff, \“, \), but to no avail, presumably because they're not standard ASCII. Convert

smart quotes

2008-08-25 Thread Adrian Smith
Can anyone tell me how to get rid of smart quotes in html using Python? I've tried variations on stuff = string.replace(stuff, \“, \), but to no avail, presumably because they're not standard ASCII. -- http://mail.python.org/mailman/listinfo/python-list