[Python-ideas] Fixing the Python 3 bytes constructor
Cameron Simpson
cs at zip.com.au
Sat Mar 29 23:47:16 CET 2014
On 30Mar2014 10:31, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Nick Coghlan wrote:
> >This subthread is confirming my original instinct to just avoid the
> >problem entirely because *either* choice is inevitably confusing for a
> >non-trivial subset of users :)
>
> How about just calling it "zero"? There's really no need
> for it to be plural.
>
> After all, we refer to int(0) as just "zero", even though
> there may be more than one zero bit in its representation.
Unfortunately, "zero" reads like a verb. One might zero an array, for example.
As a noun it would imply exactly one.
It's a good idea though; I guess I'm -0 purely for verb/noun reasons.
If numpy already has zeros() with a very similar meaning I would
live with the misspelling for the sake of consistency. If the numpy
zeros does something different then it would carry no weight with
me.
Hoping for something more betterer,
--
Cameron Simpson <cs at zip.com.au>
For those who understand, NO explanation is needed,
for those who don't understand, NO explanation will be given!
- Davey D <decoster at vnet.ibm.com>
More information about the Python-ideas
mailing list