Message357359
> 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." |
|
Date |
User |
Action |
Args |
2019-11-23 03:25:39 | methane | set | recipients:
+ methane, terry.reedy, docs@python, Windson Yang |
2019-11-23 03:25:39 | methane | set | messageid: <1574479539.01.0.597857829709.issue37073@roundup.psfhosted.org> |
2019-11-23 03:25:38 | methane | link | issue37073 messages |
2019-11-23 03:25:38 | methane | create | |
|