This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2017年04月22日 03:49 by cocoatomo, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 1249 | merged | cocoatomo, 2017年04月22日 03:57 | |
| PR 12738 | merged | methane, 2019年04月09日 06:33 | |
| PR 12739 | merged | methane, 2019年04月09日 07:08 | |
| Messages (9) | |||
|---|---|---|---|
| msg292099 - (view) | Author: Tomohiko Kinebuchi (cocoatomo) * | Date: 2017年04月22日 03:49 | |
In Python 2.6, BytesWarning was added, but a description of that warning is missing from the document, library/exceptions.rst. |
|||
| msg292101 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2017年04月22日 04:41 | |
BytesWarning should be added in the table in warnings.rst (and check that all other built-in warning categories are in this table). It is worth to mention the -b option. And I think the docstring of BytesWarning should be corrected. "Unicode" should be used rather that "str" since str and bytes is the same in 2.7. |
|||
| msg292145 - (view) | Author: Martin Panter (martin.panter) * (Python committer) | Date: 2017年04月23日 01:13 | |
. Issue 11681 is already open for the -b option, with a patch in progress. If updating the doc string, also change "buffer" to "bytearray". This is what "bytearray" was originally called in Python 3, and "buffer" is something different in Python 2. |
|||
| msg339701 - (view) | Author: Inada Naoki (methane) * (Python committer) | Date: 2019年04月09日 05:43 | |
New changeset d012d64b6a513e760abb6745f7f7ce5e6a31f274 by Inada Naoki (cocoatomo) in branch '2.7': bpo-30134: add an explanation of BytesWarning (GH-1249) https://github.com/python/cpython/commit/d012d64b6a513e760abb6745f7f7ce5e6a31f274 |
|||
| msg339704 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2019年04月09日 05:59 | |
This PR was not ready to merge. Please address my and Martin's comments. |
|||
| msg339707 - (view) | Author: Inada Naoki (methane) * (Python committer) | Date: 2019年04月09日 06:31 | |
I addressed Martin's comment (buffer -> bytesarray). But I missed your point, sorry. |
|||
| msg339708 - (view) | Author: Inada Naoki (methane) * (Python committer) | Date: 2019年04月09日 07:00 | |
New changeset 87ed1beb3e15c619f25b9a9308d1ec35659feffd by Inada Naoki in branch '2.7': bpo-30134: add BytesWarning in warnings.rst (GH-12738) https://github.com/python/cpython/commit/87ed1beb3e15c619f25b9a9308d1ec35659feffd |
|||
| msg339713 - (view) | Author: Serhiy Storchaka (serhiy.storchaka) * (Python committer) | Date: 2019年04月09日 08:16 | |
In 2.7 BytesWarning is emitted only on comparison between bytearray and unicode. All descriptions and comments should be corrected. |
|||
| msg339741 - (view) | Author: Inada Naoki (methane) * (Python committer) | Date: 2019年04月09日 12:49 | |
New changeset 4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d by Inada Naoki in branch '2.7': bpo-30134: fix BytesWarning doc, docstring and message (GH-12739) https://github.com/python/cpython/commit/4e8e8aabc6e6ae1c989ef288be7bddfdbbc3187d |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:45 | admin | set | github: 74320 |
| 2019年04月09日 12:50:05 | methane | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2019年04月09日 12:49:52 | methane | set | messages: + msg339741 |
| 2019年04月09日 08:16:18 | serhiy.storchaka | set | messages: + msg339713 |
| 2019年04月09日 07:08:44 | methane | set | pull_requests: + pull_request12661 |
| 2019年04月09日 07:00:55 | methane | set | messages: + msg339708 |
| 2019年04月09日 06:33:32 | methane | set | keywords:
+ patch stage: needs patch -> patch review pull_requests: + pull_request12660 |
| 2019年04月09日 06:31:56 | methane | set | messages: + msg339707 |
| 2019年04月09日 06:00:16 | serhiy.storchaka | set | status: closed -> open resolution: fixed -> (no value) stage: resolved -> needs patch |
| 2019年04月09日 05:59:24 | serhiy.storchaka | set | messages: + msg339704 |
| 2019年04月09日 05:43:23 | methane | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2019年04月09日 05:43:14 | methane | set | nosy:
+ methane messages: + msg339701 |
| 2017年04月23日 01:13:15 | martin.panter | set | nosy:
+ martin.panter messages: + msg292145 |
| 2017年04月22日 04:41:59 | serhiy.storchaka | set | nosy:
+ serhiy.storchaka, r.david.murray, benjamin.peterson messages: + msg292101 type: enhancement stage: patch review |
| 2017年04月22日 03:57:05 | cocoatomo | set | pull_requests: + pull_request1365 |
| 2017年04月22日 03:49:31 | cocoatomo | create | |