You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in PEP7, in C dialect section, it first states "C++ style line comments" is among the selected C99 features but then states "Never use C++ style // one-line comments". I think it's a confliction.
To handle compiler compatibility requirements on maintenance branches, perhaps the PEP needs a common shorthand like "(Allowed in: 3.6+)"?
Then it can just have a short blurb at the top explaining that the use of some features is constrained by compiler compatibility requirements, and the "(Allowed in: X.Y+)" notation will be used whenever that's the case.
Activity
brettcannon commentedon Jan 10, 2017
This probably need to be discussed on python-dev.
zhangyangyu commentedon Jan 11, 2017
I think C99 features used in 3.6 is already discussed in June. More like an edit oversight to me. Assign to Benjamin who is the editor.
methane commentedon Jan 11, 2017
C99 features which can be used in 3.6+ is documented here:
https://github.com/python/peps/blob/master/pep-0007.txt#L39-L48
brettcannon commentedon Jan 11, 2017
Already got a reply from @benjaminp on python-dev. Basically the PEP just needs an update.
ncoghlan commentedon Jan 12, 2017
To handle compiler compatibility requirements on maintenance branches, perhaps the PEP needs a common shorthand like "(Allowed in: 3.6+)"?
Then it can just have a short blurb at the top explaining that the use of some features is constrained by compiler compatibility requirements, and the "(Allowed in: X.Y+)" notation will be used whenever that's the case.
brettcannon commentedon Aug 18, 2017
Fixed in 71098c1.