
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2018-04-04 15:18 byJeff.Kaufman, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 6381 | merged | rhettinger,2018-04-05 06:59 | |
| PR 6390 | merged | miss-islington,2018-04-05 18:21 | |
| PR 6391 | merged | miss-islington,2018-04-05 18:22 | |
| Messages (5) | |||
|---|---|---|---|
| msg314936 -(view) | Author: Jeff Kaufman (Jeff.Kaufman) | Date: 2018-04-04 15:18 | |
With python built at HEAD (c51d8c9b) and at 3.7b3 (fcd4e03e08) the code: import difflib for fromdata, todata, flag in difflib._mdiff( ["2"], ["3"], 1): passproduces: Traceback (most recent call last): File "/home/jefftk/cpython/Lib/difflib.py", line 1638, in _mdiff from_line, to_line, found_diff = next(line_pair_iterator) StopIteration The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/jefftk/icdiff/repro.py", line 3, in <module> ["2"], ["3"], 1): RuntimeError: generator raised StopIterationIn python 3.5 and 3.6 I don't get an error.This is probably due tohttps://bugs.python.org/issue32670 which implementsPEP 479, but I this this isn't supposed to happen in library code? | |||
| msg314999 -(view) | Author: Raymond Hettinger (rhettinger)*![]() | Date: 2018-04-05 18:19 | |
New changeset01b731fc2b04744a11e32f93aba8bfb9ddb3dd29 by Raymond Hettinger in branch 'master':bpo-33224:PEP 479 fix for difflib.mdiff() (GH-6381)https://github.com/python/cpython/commit/01b731fc2b04744a11e32f93aba8bfb9ddb3dd29 | |||
| msg315001 -(view) | Author: Raymond Hettinger (rhettinger)*![]() | Date: 2018-04-05 18:45 | |
New changeset28c179094bcb7829d184fb3cfb3ef626505b9f77 by Raymond Hettinger (Miss Islington (bot)) in branch '3.7':bpo-33224:PEP 479 fix for difflib.mdiff() (GH-6381) (GH-6390)https://github.com/python/cpython/commit/28c179094bcb7829d184fb3cfb3ef626505b9f77 | |||
| msg315003 -(view) | Author: Raymond Hettinger (rhettinger)*![]() | Date: 2018-04-05 19:18 | |
New changeset8da15f09458fd4f4fe341861e41723892b25a11b by Raymond Hettinger (Miss Islington (bot)) in branch '3.6':bpo-33224:PEP 479 fix for difflib.mdiff() (GH-6381) (GH-6391)https://github.com/python/cpython/commit/8da15f09458fd4f4fe341861e41723892b25a11b | |||
| msg315004 -(view) | Author: Raymond Hettinger (rhettinger)*![]() | Date: 2018-04-05 19:23 | |
Thanks for timely report. I appreciate you exercising the beta release to shake out bugs. | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:59 | admin | set | github: 77405 |
| 2018-04-05 19:23:50 | rhettinger | set | status: open -> closed resolution: fixed messages: +msg315004 stage: patch review -> resolved |
| 2018-04-05 19:18:04 | rhettinger | set | messages: +msg315003 |
| 2018-04-05 18:45:36 | rhettinger | set | messages: +msg315001 |
| 2018-04-05 18:22:10 | miss-islington | set | pull_requests: +pull_request6099 |
| 2018-04-05 18:21:25 | miss-islington | set | pull_requests: +pull_request6098 |
| 2018-04-05 18:19:59 | rhettinger | set | messages: +msg314999 |
| 2018-04-05 07:02:07 | rhettinger | set | versions: + Python 3.6, Python 3.8 |
| 2018-04-05 06:59:07 | rhettinger | set | keywords: +patch stage: patch review pull_requests: +pull_request6091 |
| 2018-04-05 06:25:43 | rhettinger | set | assignee:rhettinger nosy: +rhettinger |
| 2018-04-04 15:18:24 | Jeff.Kaufman | create | |