Skip to content

PEP 7: clarify "strongly preferred" braces #279

Closed

Description

@vstinner

Discussion:

Guido Van Rossum's email:

I interpret the PEP as saying that you should use braces everywhere but not
to add them in code that you're not modifying otherwise. (I.e. don't go on
a brace-adding rampage.) If author and reviewer of a PR disagree I would go
with "add braces" since that's clearly the PEP's preference. This is C
code. We should play it safe.

Activity

  1. vstinner commented on Jun 1, 2017

    @vstinner
    MemberAuthor

    Me:

    Would someone be nice enough to try to rephrase the PEP 7 to explain
    that? Just to avoid further boring discussion on the C coding style...

    Brett:

    If you create an issue at github.com/python/peps and assign it to me I will get to it someday. :)

    So Brett: pleeease ;-)

  2. added a commit that references this issue on Jun 1, 2017
    951ac23
  3. added a commit that references this issue on Jun 1, 2017
    9cf4bde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions