
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-10-25 04:03 byxiang.zhang, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 10217 | merged | xiang.zhang,2018-10-29 15:19 | |
| PR 10259 | merged | miss-islington,2018-10-31 11:49 | |
| PR 10260 | merged | miss-islington,2018-10-31 11:49 | |
| PR 10262 | merged | miss-islington,2018-10-31 11:49 | |
| Messages (5) | |||
|---|---|---|---|
| msg328407 -(view) | Author: Xiang Zhang (xiang.zhang)*![]() | Date: 2018-10-25 04:03 | |
io.IncrementalNewlineDecoder gets a *translate* bitwise struct field, but it could be assigned arbitrary int value. This leads to inconsistent behaviour, evens are evaluated to False and odds to True.>>> io.IncrementalNewlineDecoder(encodings.utf_8.IncrementalDecoder(), 4).decode(b"abcd\r\n")u'abcd\r\n'>>> io.IncrementalNewlineDecoder(encodings.utf_8.IncrementalDecoder(), 5).decode(b"abcd\r\n")u'abcd\n' | |||
| msg328988 -(view) | Author: Xiang Zhang (xiang.zhang)*![]() | Date: 2018-10-31 11:49 | |
New changesetb08746bfdf64e55ce33516f2065fa2aa4f51be95 by Xiang Zhang in branch 'master':bpo-35062: Fix parsing _io.IncrementalNewlineDecoder's *translate* argument. (GH-10217)https://github.com/python/cpython/commit/b08746bfdf64e55ce33516f2065fa2aa4f51be95 | |||
| msg328991 -(view) | Author: miss-islington (miss-islington) | Date: 2018-10-31 12:36 | |
New changeset71b6c1af727fbe13525fb734568057d78cea33f3 by Miss Islington (bot) in branch '3.7':bpo-35062: Fix parsing _io.IncrementalNewlineDecoder's *translate* argument. (GH-10217)https://github.com/python/cpython/commit/71b6c1af727fbe13525fb734568057d78cea33f3 | |||
| msg328992 -(view) | Author: miss-islington (miss-islington) | Date: 2018-10-31 12:36 | |
New changeset907b07ee31a657914dafb0a6b7fa724be0f8d8ac by Miss Islington (bot) in branch '3.6':bpo-35062: Fix parsing _io.IncrementalNewlineDecoder's *translate* argument. (GH-10217)https://github.com/python/cpython/commit/907b07ee31a657914dafb0a6b7fa724be0f8d8ac | |||
| msg328993 -(view) | Author: miss-islington (miss-islington) | Date: 2018-10-31 12:37 | |
New changeset05acd44ad6b61adb24571eb0203de7b25c7e869b by Miss Islington (bot) in branch '2.7':bpo-35062: Fix parsing _io.IncrementalNewlineDecoder's *translate* argument. (GH-10217)https://github.com/python/cpython/commit/05acd44ad6b61adb24571eb0203de7b25c7e869b | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:07 | admin | set | github: 79243 |
| 2018-10-31 12:39:33 | xiang.zhang | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2018-10-31 12:37:10 | miss-islington | set | messages: +msg328993 |
| 2018-10-31 12:36:37 | miss-islington | set | messages: +msg328992 |
| 2018-10-31 12:36:24 | miss-islington | set | nosy: +miss-islington messages: +msg328991 |
| 2018-10-31 11:49:48 | miss-islington | set | pull_requests: +pull_request9573 |
| 2018-10-31 11:49:38 | miss-islington | set | pull_requests: +pull_request9571 |
| 2018-10-31 11:49:29 | miss-islington | set | pull_requests: +pull_request9570 |
| 2018-10-31 11:49:21 | xiang.zhang | set | messages: +msg328988 |
| 2018-10-29 15:19:03 | xiang.zhang | set | keywords: +patch stage: needs patch -> patch review pull_requests: +pull_request9534 |
| 2018-10-26 00:09:21 | pablogsal | set | nosy: +pablogsal |
| 2018-10-25 05:25:32 | xtreak | set | nosy: +xtreak |
| 2018-10-25 04:03:41 | xiang.zhang | create | |