[issue34188] Allow dict choices to "transform" values in argpagse

2018-09-22 Thread paul j3
Change by paul j3 : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue34548] IDLE: Make TextView use the configured theme colors

2018-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Investigating the code, I discovered that # TODO: get fg/bg from theme." is my rewrite on 2016 8 31, a3623c8, of #elguavas - config placeholders til config stuff completed Stephen Gava either wrote or modified the file in 2001. Using the config settings w

[issue34046] subparsers -> add_parser doesn't support hyphen char '-'

2018-09-22 Thread paul j3
Change by paul j3 : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-l

[issue33396] IDLE: Improve and document help doc viewer

2018-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: 8. Use configured colors. #34548 does this for text viewer, so would be automatic if subclass from that. 9. Upgrade text viewer to include 1, 3, and 4. It also should use proportional font that help viewer uses. 10 Can Scripts/rst2html be used to directly

[issue26952] argparse help formatter crashes

2018-09-22 Thread paul j3
paul j3 added the comment: If I add an argument to the mutexGroup as suggested by xiang In [7]: mutexGroup.add_argument('--foo', action='store_true') Out[7]: _StoreTrueAction(option_strings=['--foo'], dest='foo', nargs=0, const=True, default=False, type=None, choices=None, help=None, metavar=

[issue33415] When add_mutually_exclusive_group is built without argument, the help breaks with "IndexError: list index out of range"

2018-09-22 Thread paul j3
paul j3 added the comment: This is duplicate of https://bugs.python.org/issue26952 - argparse help formatter crashes The same issue - a mutually exclusive group without arguments. It also deals with issue of nesting groups. -- resolution: -> duplicate stage: -> resolved status: op

[issue26952] argparse help formatter crashes

2018-09-22 Thread paul j3
paul j3 added the comment: https://bugs.python.org/issue29553 deals with a similar problem, the usage display when one mutually exclusive group is embedded in another mutually exclusive group. In that case, usage is displayed, but with some missing brackets. As here there are two issues

[issue27117] turtledemo does not work with IDLE's new dark theme.

2018-09-22 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +8908 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue32892] Remove specific constant AST types in favor of ast.Constant

2018-09-22 Thread thautwarm
thautwarm added the comment: Thank you, Serhiy. I learned python ast through ast.parse and pretty print, which prevented me from knowing this useful one. In fact, I wonder if we could support more species of constant values accepted by ast.Constant? -- ___

[issue34548] IDLE: Make TextView use the configured theme colors

2018-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: After live testing, I like 'after' at least as well as 'before'. I also decided that people who selects a dark theme because black on white is obnoxious to their eyes should have their choice on all text panes. -- __

[issue34548] IDLE: Make TextView use the configured theme colors

2018-09-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue33396] IDLE: Improve and document help doc viewer

2018-09-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- dependencies: +IDLE: Make TextView use the configured theme colors ___ Python tracker ___ ___ Python-b

[issue34609] Importing certain modules while debugging raises an exception

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34773] sqlite3 module inconsistently returning only some rows from a table

2018-09-22 Thread Shankar
New submission from Shankar : I am running a Python based system on an Android phone. The database is in Sqlite3. It has been running well for approximately five years now, with various upgraded phones, changes to the system, etc. However, in the last week or so, there has been a problem in

[issue34774] IDLE: use theme colors for help viewer

2018-09-22 Thread Terry J. Reedy
New submission from Terry J. Reedy : Follow-up to #34548. Use user-selected color theme for Help => IDLE Help. (Patch coming.) -- messages: 326133 nosy: terry.reedy priority: normal severity: normal stage: patch review status: open title: IDLE: use theme colors for help viewer type:

[issue34609] Importing certain modules while debugging raises an exception

2018-09-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +brett.cannon, eric.snow, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue24307] pip error on windows whose current user name contains non-ascii characters

2018-09-22 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the patch. Would you like to make a GitHub PR. I think it's a problem with optparse in general while trying to have a default value with unicode character and %default in the help string. The same code is present in Python 3 but strings a

[issue34774] IDLE: use theme colors for help viewer

2018-09-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +8909 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue21919] Changing cls.__bases__ must ensure proper metaclass inheritance

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34774] IDLE: use theme colors for help viewer

2018-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: If HelpText is ever subclassed from a view text class, the color_config and call will be deleted. But changing the two fixed colors will be needed in any case. The background option in self.tag_configure('pre', font=(fixedfont, 12), background='#f6f6ff')

[issue34774] IDLE: use theme colors for help viewer

2018-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I have tested this on Windows with both light and dark themes. -- ___ Python tracker ___ ___ Pyth

[issue34421] Cannot install package with unicode module names on Windows

2018-09-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +8910 stage: commit review -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34421] Cannot install package with unicode module names on Windows

2018-09-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4b860fd777e983f5d2a6bd1288e2b53099c6a803 by Serhiy Storchaka in branch 'master': bpo-34421: Improve distutils logging for non-ASCII strings. (GH-9126) https://github.com/python/cpython/commit/4b860fd777e983f5d2a6bd1288e2b53099c6a803

[issue34421] Cannot install package with unicode module names on Windows

2018-09-22 Thread miss-islington
Change by miss-islington : -- pull_requests: +8911 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue9350] add remove_argument_group to argparse

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34670] Add set_post_handshake_auth for TLS 1.3

2018-09-22 Thread miss-islington
miss-islington added the comment: New changeset 9fb051f032c36b9f6086b79086b4d6b7755a3d70 by Miss Islington (bot) (Christian Heimes) in branch 'master': bpo-34670: Add TLS 1.3 post handshake auth (GH-9460) https://github.com/python/cpython/commit/9fb051f032c36b9f6086b79086b4d6b7755a3d70

[issue34609] Importing certain modules while debugging raises an exception

2018-09-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: terry.reedy -> components: -IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17185] unittest mock create_autospec doesn't correctly replace mocksignature

2018-09-22 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34548] IDLE: Make TextView use the configured theme colors

2018-09-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: The first follow-up, #34774, makes the help viewer use the current theme. It would be good if it were separately tested on Linux/Mac, as it uses multiple tags. -- priority: low -> normal ___ Python tracker

[issue34670] Add set_post_handshake_auth for TLS 1.3

2018-09-22 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +8912 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34421] Cannot install package with unicode module names on Windows

2018-09-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +8913 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

<    1   2