A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-July/145644.html below:

[Python-Dev] PEP 467: next round

[Python-Dev] PEP 467: next round [Python-Dev] PEP 467: next roundEthan Furman ethan at stoneleaf.us
Mon Jul 18 18:00:41 EDT 2016
On 07/18/2016 02:45 PM, Brett Cannon wrote:
> On Mon, 18 Jul 2016 at 14:35 Alexander Belopolsky wrote:
>> On Mon, Jul 18, 2016 at 5:01 PM, Jonathan Goble 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*() ?

bytes.fromsize() sounds good to me, thanks for brainstorming that one for
me.  I wasn't really happy with 'size()' either.

--
~Ethan~
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4