[Python-Dev] Re: adding a bytes sequence type to Python

Barry Warsaw barry at python.org
Tue Aug 17 16:25:52 CEST 2004


On Tue, 2004-08-17 at 03:24, Tony Meyer wrote:

> I don't know about shtoom, but Mike Fletcher's resourcepackage does.  (It
> packages up non-*.py files as *.py files).  I believe that the main point of
> resourcepackage is for ease of distribution (but could be wrong), so perhaps
> better distribution tools make this unnecessary.  It is an example use-case,
> though.

I'd think that in most cases, huge globs of binary byte data would
better live in non-py data files.  I personally don't see much of a use
case for byte literals (although, +1 on a bytes type).  Byte literals
just aren't going to be commonly written by people I think, and any
programmatic generation of byte data should just as easily live outside
py files.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20040817/3586cfdb/attachment.pgp


More information about the Python-Dev mailing list