[Python-ideas] Debugging: some problems and possible solutions
boxed at killingar.net
Wed Oct 3 12:29:42 EDT 2018
>> foo(=a, =1+bar)
> Unfortunately, that won't help with Jonathan's inital example
> expression "big_array[5:20]" as it's not a valid keyword.
I didn't understand that. The example you are referring to is
print('big_array[5:20] =', big_array[5:20])
Nothing is a keyword in that example or in my example. My suggestion is that we could do:
And it would be compile time transformed into
and then my_func is just a normal function:
It's a very simple textual transformation.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas