[issue17232] Improve -O docs

2018-02-24 Thread miss-islington
miss-islington added the comment: New changeset b5655f3d187084579ff389dbd8734742a8b66cbc by Miss Islington (bot) in branch '3.7': bpo-17232: Clarify docs for -O and -OO command line options (GH-5839) https://github.com/python/cpython/commit/b5655f3d187084579ff389dbd8734742a8b66cbc --

[issue17232] Improve -O docs

2018-02-24 Thread miss-islington
miss-islington added the comment: New changeset fc9471a888f373aedff3c118ae9a6cbf2037bd7c by Miss Islington (bot) in branch '3.6': bpo-17232: Clarify docs for -O and -OO command line options (GH-5839) https://github.com/python/cpython/commit/fc9471a888f373aedff3c118ae9a6cbf2037bd7c --

[issue17232] Improve -O docs

2018-02-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32939] IDLE: self.use_context_ps1 defined in editor, but always False

2018-02-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: #31858 (second link) replaced one (?) use of "if use_context_ps1" ('in Shell') with "if self.last_prompt_line != ''" ("prompt before code on same line"). This can only happen in Shell, and only if the prompt ends with something other than '\n'. I cannot rem

[issue32943] confusing error message for rot13 codec

2018-02-24 Thread Xiang Zhang
New submission from Xiang Zhang : rot13 codec does a str translate operation. But it doesn't check the input type and then the error message would be quite confusing, especially for bytes: >>> codecs.encode(b'abc', 'rot13') Traceback (most recent call last): File "/usr/local/Cellar/python3/3

[issue32944] Need Guidance on Solving the Tcl problem

2018-02-24 Thread LBC2525
New submission from LBC2525 : Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "copyright", "credits" or "license()" for more information. >>> WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable. Visit http://www.python.

[issue32943] confusing error message for rot13 codec

2018-02-24 Thread Xiang Zhang
Change by Xiang Zhang : -- keywords: +patch pull_requests: +5643 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue32943] confusing error message for rot13 codec

2018-02-24 Thread Xiang Zhang
Change by Xiang Zhang : -- nosy: +lemburg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue32944] Need Guidance on Solving the Tcl problem

2018-02-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Download and install 8.5.18 as the link says. If you have further questions, try python list or search stackoverflow. This tracker is for patching python, not for user questions. -- assignee: terry.reedy -> components: +Installation -IDLE resolutio

[issue32940] IDLE: pyparse - simplify StringTranslatePseudoMapping

2018-02-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: For efficiency I suggest to initialize the mapping with dict.fromkeys(range(128), 'x') rather of an empty dict. It is also possible to use regular expressions: _trans = re.compile(r'''[^(){}\[]"'\\\n#]+''') code = _trans.sub('x', code) code = code.replace('

[issue32900] Teach pdb to step through asyncio et al.

2018-02-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: The help for 'n' says: (Pdb) help n n(ext) Continue execution until the next line in the current function is reached or it returns. (And the docs [1] say essentially the same.) It sounds like if that were true, then you wouldn't have a proble

<    1   2