(Quasi-)incorrect keyword argument completion
See original GitHub issueThe signature e.g. of np.frombuffer
is
frombuffer(buffer, dtype=float, count=-1, offset=0)
but frombuffer(<tab>
proposes completions with count=
, dtype=
and offset=
. Note that it is unlikely that one will ever want to write a call that starts with np.frombuffer(count=...)
, because you’d typically want to pass the buffer
argument first (yes, I know, technically you can pass it as keyword after another keyword argument. I don’t think that’s a common case 😃)
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Completion in IPython (jupyter) does now work (unexpected ...
The latest upgrade to jedi broke completion in all of IPython and answers to a 5-years old question about a different issue are...
Read more >Last jedi release (0.18.0) is incompatible with ipython ... - GitHub
Every time when I tried to use tab completion in IPython it crashed. Glad I found a solution. 2
Read more >Disciplined quasiconvex programming - Stanford University
A quasiconvex program (QCP) is a mathematical optimization problem in which the objective is to minimize a quasiconvex function over a convex ...
Read more >Disciplined Quasiconvex Programming - arXiv
A quasiconvex program (QCP) is a mathematical optimization problem in which the objective is to minimize a quasiconvex function over a convex.
Read more >Numerical resolution by the quasi-reversibility method of a ...
This paper concerns the numerical resolution of a data completion problem for the time-harmonic Maxwell equations in the electric field.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
On a related note,
np.load("<TAB>
(note the presence of the quote) completes kwargs (and globals) rather than filenames, which is incorrect.@Ark-kun the behaviour you suggest can be implemented by (conditionally) returning
suppress=True
using the new matcher API / docs. Thepython_func_kw_matcher
would need to be ported to matcher API v2 which is mostly just changing the function signature.