[Python-ideas] Debugging: some problems and possible solutions
Chris Angelico
rosuav at gmail.com
Wed Oct 3 14:41:22 EDT 2018
On Thu, Oct 4, 2018 at 4:38 AM Chris Angelico <rosuav at gmail.com> wrote:
>
> On Thu, Oct 4, 2018 at 4:36 AM Anders Hovmöller <boxed at killingar.net> wrote:
> >
> >
> > >> It's a very simple textual transformation.
> > >>
> > >
> > > That is not guaranteed to work. In another thread it was pointed out
> > > that this is merely a CPython implementation detail, NOT a language
> > > feature.
> >
> > Pedantry. Ok. Let's be pedantic: it's a simple textual transformation AND a promotion of an implementation detail to a spec requirement. Happy?
>
> Then I'm strongly -1 on it. Happy? :)
And In case it's not clear why I said that, btw: It's not mere
pedantry. By restating your proposal in those terms, you make it far
broader than a simple textual transformation. Imagine if you'd said it
like this:
"Okay, let's be pedantic. As well as my other proposals, I'm also
requiring that you be able to use 'a+b' as a variable name."
That is most definitely not a simple proposal. And that means it
should be discussed as a much much broader change: disconnecting
keyword arguments from variable names. That should NOT just slide
through as part of a separate change.
ChrisA
More information about the Python-ideas
mailing list