Terry Reedy wrote:
> The purpose of type constructors is to construct instances from reasonable 
> inputs.  I think all number constructors should accept bytes

What should bytes as input to a number constructor
mean, though?

People seem to be assuming it should be interpreted
as ASCII-encoded characters.

But an equally plausible interpretation might be
that it's some binary representation of a number.

-- 
Greg

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to