[Python-Dev] Re: adding a bytes sequence type to Python
M.-A. Lemburg
mal at egenix.com
Tue Aug 17 18:20:30 CEST 2004
Michael Hudson wrote:
> Anthony Baxter <anthony at interlink.com.au> writes:
>>A big +1 for a bytes() type, though. I'm not sure on the details,
>>but it'd be nice if it was possible to pass a bytes() object to,
>>for instance, write() directly.
>
> If bytes() doesn't implement the read buffer interface, someone
> somewhere is going to need shooting :-)
Is there any reason you cannot use buffer() ?!
It already implements all the necessary things and has been
available for many years.
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Source (#1, Aug 17 2004)
>>> Python/Zope Consulting and Support ... http://www.egenix.com/
>>> mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
>>> mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
________________________________________________________________________
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
More information about the Python-Dev
mailing list