[issue31275] Check fall-through in _codecs_iso2022.c

2017-09-12 Thread STINNER Victor
Changes by STINNER Victor : -- versions: +Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue31275] Check fall-through in _codecs_iso2022.c

2017-09-12 Thread STINNER Victor
STINNER Victor added the comment: New changeset c0e77364ca29df6cfb311e79892955c92bd8e595 by Victor Stinner in branch '3.6': [3.6] bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0 (#3518) https://github.com/python/cpython/commit/c0e77364ca29df6cfb311e79892955c92bd8e595

[issue31275] Check fall-through in _codecs_iso2022.c

2017-09-12 Thread STINNER Victor
Changes by STINNER Victor : -- pull_requests: +3514 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue31275] Check fall-through in _codecs_iso2022.c

2017-08-25 Thread Stefan Krah
Stefan Krah added the comment: Thanks, Serhiy! -- components: +Build resolution: -> fixed stage: -> resolved status: open -> closed type: -> compile error versions: +Python 3.7 ___ Python tracker ___

[issue31275] Check fall-through in _codecs_iso2022.c

2017-08-25 Thread Stefan Krah
Stefan Krah added the comment: New changeset 138753c1b96b5e06a5c5d409fa4cae5e2fe1108b by Stefan Krah in branch 'master': bpo-31275: Small refactoring to silence a fall-through warning. (#3206) https://github.com/python/cpython/commit/138753c1b96b5e06a5c5d409fa4cae5e2fe1108b -- __

[issue31275] Check fall-through in _codecs_iso2022.c

2017-08-25 Thread Stefan Krah
Changes by Stefan Krah : -- pull_requests: +3243 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue31275] Check fall-through in _codecs_iso2022.c

2017-08-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This looks equivalent to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue31275] Check fall-through in _codecs_iso2022.c

2017-08-25 Thread Stefan Krah
New submission from Stefan Krah: The last fall-through warning is in _codecs_iso2022.c. IMO the current code is equivalent to this, but I'm no codecs expert at all: diff --git a/Modules/cjkcodecs/_codecs_iso2022.c b/Modules/cjkcodecs/_codecs_iso2022.c index 1ce4218f30..abf214880f 100644 --- a/