[issue38590] argparse unexpected behavior with argument group inside mutually exclusive group

2019-11-04 Thread paul j3
paul j3 added the comment: With one exception, groups are not designed or intended to be nested. But by inheritance (from _ActionsContainer) nesting isn't blocked nor does it raise any errors. As you surmise, an ArgumentGroup, is used only for grouping the help lines. By default that are

[issue38693] Use f-strings instead of str.format within importlib

2019-11-04 Thread Gregory P. Smith
New submission from Gregory P. Smith : importlib is full of str.format calls, modernizing it to use f-strings is a slight performance win and much more readable. -- assignee: gregory.p.smith messages: 356005 nosy: gregory.p.smith priority: normal severity: normal status: open title: Us

[issue38693] Use f-strings instead of str.format within importlib

2019-11-04 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +16569 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17058 ___ Python tracker ___

[issue38694] docs.python.org does not switch version properly

2019-11-04 Thread Dong-hee Na
New submission from Dong-hee Na : 1. open https://docs.python.org/3.8/whatsnew/3.8.html 2. choose dev (3.9) 3. 3.9 whats news should be shown but still showing 3.8 -- assignee: docs@python components: Documentation messages: 356006 nosy: corona10, docs@python priority: normal severity:

[issue38655] ipaddress.ip_network('0.0.0.0/0').is_private == True

2019-11-04 Thread pascalhofmann
pascalhofmann added the comment: 0.0.0.0/0 is a network with addresses from 0.0.0.0 to 255.255.255.255. 0.0.0.0/8 is a network with addresses from 0.0.0.0 to 0.255.255.255. So 4278190080 out of 4294967296 addresses in 0.0.0.0/0 clearly are no private addresses. -- __

[issue38689] IDLE crashes when KeyError is raised during calltip generation

2019-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since isinstance(Object.__call__, types.MethodType) is False, the 'fob' in 'inspect.signature(fob)' is Object. (See the initial get_argspec code.) Indeed, 'inspect.signature(Object)' results in the traceback following inspect.signature(fob) and 'isinstance

[issue38695] IDLE should restart instead of hanging when subprocess exits

2019-11-04 Thread Terry J. Reedy
New submission from Terry J. Reedy : This is a spinoff from #38689, about 'strange_callable(' in Shell hanging, because there is an uncaught exception is the run process. (See issue for 'strange_callable'.) Running IDLE from Windows Command Prompt, Windows eventually shows the circle cursor

[issue38689] IDLE crashes when KeyError is raised during calltip generation

2019-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Further experiments suggest a fix for the hang, which is not specific to this example. See new issue #38695. -- stage: -> test needed type: -> behavior versions: +Python 3.7, Python 3.9 ___ Python tracker

<    1   2