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 2016年08月30日 14:55 by nnnnnn, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| parser.patch | nnnnnn, 2016年08月30日 14:55 | review | ||
| Messages (3) | |||
|---|---|---|---|
| msg273975 - (view) | Author: Martin Panter (martin.panter) * (Python committer) | Date: 2016年08月30日 22:17 | |
Actually it seems the parameter is called *text*: >>> BytesParser().parsebytes(bytes=b"") TypeError: parsebytes() got an unexpected keyword argument 'bytes' >>> BytesParser().parsebytes(text=b"") <email.message.Message object at 0xb6a2136c> |
|||
| msg273981 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2016年08月31日 00:31 | |
Yeah, and it should probably remain so at this point. It's not even completely wrong; from an email perspective it is text. It should also say "equivalent", not "precisely equivalent", since BytesIO is not in fact involved in the implementation. |
|||
| msg273986 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2016年08月31日 01:17 | |
New changeset b8dd9ae08a91 by R David Murray in branch '3.5': #27893: arg name and bytes references in email.parser docs. https://hg.python.org/cpython/rev/b8dd9ae08a91 New changeset 059f9f518834 by R David Murray in branch 'default': Merge #27893: arg name and bytes references in email.parser docs. https://hg.python.org/cpython/rev/059f9f518834 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:35 | admin | set | github: 72080 |
| 2016年08月31日 01:19:30 | r.david.murray | set | status: open -> closed resolution: fixed stage: resolved |
| 2016年08月31日 01:17:52 | python-dev | set | nosy:
+ python-dev messages: + msg273986 |
| 2016年08月31日 00:31:14 | r.david.murray | set | messages: + msg273981 |
| 2016年08月30日 22:17:23 | martin.panter | set | title: BytesParser.parsebytes docstring fix -> email.parser.BytesParser.parsebytes docs fix nosy: + barry, r.david.murray, martin.panter messages: + msg273975 versions: + Python 3.5, Python 3.6 components: + email |
| 2016年08月30日 14:55:26 | nnnnnn | create | |