Paul Prescod wrote: > M.-A. Lemburg wrote: > >> ... >> >> >> We already have a number of read-write types for storing binary >> data, e.g. arrays, cStringIO and buffers. Inventing yet another >> way to spell binary data won't make life easier. > > The point is canonicalize one and start to make APIs that expect it. > Otherwise we will never make the leap from the bad habit of using > strings as byte arrays. > > Can you pass arrays to the write() function? Can > you decode buffers to strings? A byte array type would have a certain > mix of functions and API compatibility that is missing from the plethora > of similar thingees. Wouldn't it be possible to extend the existing buffer type to meet those standards ? -- Marc-Andre Lemburg eGenix.com Professional Python Services directly from the Source (#1, Aug 18 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 ! ::::
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