a = self.fubar_the_worg(A, x) \
        + make_me_happy(x, y, z)

(Please do not cut the example, Sergey, I had to go back and look up the exact situation.)

No errors here.

Okay, so your vote

No. It's not my vote, it's PEP 8.

PEP8 is ambiguous about that. It says that multiples-of-four is "optional" for hanging indents, but it does not say who's choosing the option: The project or the individual coder. I.e. I'm taking this as a vote for "the coder chooses" (which is in line with what I know about other sympyists' stances).

      klaatu = self.barada_nikto(x, y, z,
                                 a, b, c)
      klaatu = self.barada_nikto(x, y, z,
          a, b, c)
      klaatu = self.barada_nikto(
          x, y, z, a, b, c)

FYI: The only error here is the second example.

It's a bit unfortunate that these indents happened to be multiples
of four, so they're all non-erroneous no matter what...

Not all.

Please explain.
My reading of PEP8 is that it's always okay to indent by multiples of four.

So, what's your stance on the following:

Just run pep8, please.  Or read PEP 8.

I want to know what conclusions you (and others) draw from PEP8.
I know my own interpretation well enough thank you very much, but that's not going to get codified (and with good reason, my interpretations aren't necessarily more accurate than anybody else's).

In short, no - these indents sometimes may be indented
to other than 4 spaces.

Okay, vote noted.

Does this mean that you think it should be flagged, or not?

It's just out of discussion for my pr.

Which is related to this survey, but off topic. This isn't for discussing your PR, it's for laying foundations that you can use for your PR.
(Besides, you closed that PR - what's the point in still discussing it?)

Clearly, that we have to decide first - should we use pep8 testing
at all, instead of the current code quality tests.

This very survey is based on the assumption that we should first get a clear picture of what we want, then select the tools. One can reasonably disagree about that, but that's off-topic for this thread. I added the (4) questions just to have the pep8.py case covered *in case we need to use it*. If the consensus were that even continuation lines should be indented by multiples of four, we wouldn't need pep8.py. I do not expect that to happen, but I do not want to rule it out just because of my expectations.

4c) Installing dependencies through pip is not a hassle if SymPy itself
is installable through pip. Right now, SymPy is not prepared for that.

What's wrong with this?

$ pip install sympy

It's undocumented, i.e. it might not work anymore with the next
SymPy version.

I assure you, next release will be available on PyPI
as well.

Has this been discussed and decided?

--
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/54A7DBD9.8090506%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to