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.

Author methane
Recipients Windson Yang, docs@python, methane, terry.reedy
Date 2019-11-23.03:25:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1574479539.01.0.597857829709.issue37073@roundup.psfhosted.org>
In-reply-to
Content
> The function actually copies `len` bytes from string v instead of the whole string. 

"and length *len*" means it.  So it is not a bug.

If you want to rewrite it to "the first *len* bytes of", you should remove "and length *len*".

But please note that every small change will break translations.
Unless you are sure it is better than the current version, please don't change it.

> _bufferediobase_readinto_generic(link 2) which may return NULL.

It doesn't return NULL.  NULL in C means it raises the error.
And we don't document it usually.  Otherwise, almost all document has "it may raise an exception when an error happens."
History
Date User Action Args
2019-11-23 03:25:39methanesetrecipients: + methane, terry.reedy, docs@python, Windson Yang
2019-11-23 03:25:39methanesetmessageid: <1574479539.01.0.597857829709.issue37073@roundup.psfhosted.org>
2019-11-23 03:25:38methanelinkissue37073 messages
2019-11-23 03:25:38methanecreate