[New-bugs-announce] [issue36969] pdb: do_args: display/handle keyword-only arguments
daniel hahler
report at bugs.python.org
Sun May 19 18:55:08 EDT 2019
New submission from daniel hahler <python-bugs at thequod.de>:
With a program like the following, `args` will not display the keyword-only argument:
```
def f1(arg=None, *, kwonly=None):
__import__('pdb').set_trace()
f1()
```
```
(Pdb) args
arg = 'arg'
kw = 'kw'
```
Related code:
https://github.com/python/cpython/blob/5c08ce9bf712acbb3f05a3a57baf51fcb534cdf0/Lib/pdb.py#L1129-L1144
----------
components: Library (Lib)
messages: 342878
nosy: blueyed
priority: normal
severity: normal
status: open
title: pdb: do_args: display/handle keyword-only arguments
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36969>
_______________________________________
More information about the New-bugs-announce
mailing list