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/2006-March/062486.html below:

[Python-Dev] bytes thoughts

[Python-Dev] bytes thoughts [Python-Dev] bytes thoughtsGreg Ewing greg.ewing at canterbury.ac.nz
Fri Mar 17 01:40:06 CET 2006
Baptiste Carvello wrote:

> They are not *that* obvious. Logical operations on ints have allowed users to 
> forget about size (and shoot themselves in the foot from time to time). Or is
> 1^(~1) == -1 obvious ? Well, maybe that's not sane either :-)

It's about as sane as you can get in a world where ints
don't have any fixed size. Bytes objects will have a size,
on the other hand, and it makes sense to take notice of
it.

BTW, is anyone else bothered that the term "bytes object"
is a bit cumbersome? Also confusing as to whether it's
singular or plural. Could we perhaps call it a bytevector
or bytearray or something?

Greg
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