[issue27893] email.parser.BytesParser.parsebytes docs fix

2016-08-30 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue27893] email.parser.BytesParser.parsebytes docs fix

2016-08-30 Thread Roundup Robot
Roundup Robot added the comment: 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 b

[issue27893] email.parser.BytesParser.parsebytes docs fix

2016-08-30 Thread R. David Murray
R. David Murray added the comment: 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. --

[issue27893] email.parser.BytesParser.parsebytes docs fix

2016-08-30 Thread Martin Panter
New submission from Martin Panter: Actually it seems the parameter is called *text*: >>> BytesParser().parsebytes(bytes=b"") TypeError: parsebytes() got an unexpected keyword argument 'bytes' >>> BytesParser().parsebytes(text=b"") -- components: +email nosy: +barry, martin.panter, r.da