Re: [Python-Dev] PEP 467: next round

2016年7月18日 14:55:10 -0700

On 2016年7月18日 at 14:35 Alexander Belopolsky <
[email protected]> wrote:
>
> On Mon, Jul 18, 2016 at 5:01 PM, Jonathan Goble <[email protected]>
> wrote:
>
>> full(), despite its use in numpy, is also unintuitive to me (my first
>> thought is that it would indicate whether an object has room for more
>> entries).
>>
>> Perhaps bytes.fillsize?
>>
>
> I wouldn't want to see bytes.full() either. Maybe bytes.of_size()?
>
Or bytes.fromsize() to stay with the trend of naming constructor methods as
from*() ?
_______________________________________________
Python-Dev mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to