homepage

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 pitrou
Recipients georg.brandl, mark.dickinson, meador.inge, pitrou, r.david.murray, rhettinger, skrah
Date 2011年08月14日.18:17:32
SpamBayes Score 6.616389e-05
Marked as misclassified No
Message-id <1313345728.3574.17.camel@localhost.localdomain>
In-reply-to <1313345036.11.0.789905045333.issue12740@psf.upfronthosting.co.za>
Content
> It looks like the choice is between s.nmembers and len(s). I thought
> about len(s), but since Struct.pack() returns a bytes object, this
> might be confusing.
I agree there's a risk of confusion between len()-number-of-elements and
size()-number-of-bytes.
We have a similar confusion with the memoryview object and in retrospect
it's often quite misleading.
History
Date User Action Args
2011年08月14日 18:17:33pitrousetrecipients: + pitrou, georg.brandl, rhettinger, mark.dickinson, r.david.murray, skrah, meador.inge
2011年08月14日 18:17:32pitroulinkissue12740 messages
2011年08月14日 18:17:32pitroucreate

AltStyle によって変換されたページ (->オリジナル) /