New submission from daniel hahler <python-b...@thequod.de>:

When `parseline` returns `None` for `cmd` (like pdb++ might cause it when 
changing a cmd "disable" to "!disable"), the following will cause a TypeError:

> compfunc = getattr(self, 'complete_' + cmd)

"None" should be also forwarded to "completedefault", just like cmd="".

----------
components: Library (Lib)
messages: 330035
nosy: blueyed
priority: normal
severity: normal
status: open
title: Cmd.complete does not handle cmd=None
type: crash
versions: Python 3.8

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue35270>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to