Pydev is incorrectly formatting multi line keyword arguments to a function, and putting spaces even though the preferences is keyword arguments without spaces, in the special case when its a keyword argument following a regular argument.
Am I missing something here? and should possible bug reports stay on stack overflow? Fabio?
E.g.
funktion_call(arg1, kwarg1 = abc)
is correctly formatted to (with the appropriate pydev settings) to:
funktion_call(arg1, kwarg1=abc)
However, if the function call goes multiline:
funktion_call(arg1,
kwarg1=abc)
then it incorrectly treats the spaces as if it was an assignment and formats to:
funktion_call(arg1,
kwarg1 = abc)
Actually, I can't reproduce it in the latest PyDev version (which version are you using?)
If you can reproduce it reliably, please create a bug report in the PyDev sf tracker with the example to reproduce it.
Regarding where to report things, if you're in doubt if it's a bug or not, here is a good place to ask, but if you're certain it's a bug, it should be reported directly to the PyDev sf tracker.
inline ` def function(a, b=None): pass
function(a=1231, b = 'asrtasr') - eskhool 2012-05-10 08:26