[Python-3000] to be merged

Benjamin Peterson musiccomposition at gmail.com
Thu Jul 3 01:00:56 CEST 2008

On Wed, Jul 2, 2008 at 5:50 PM, Josiah Carlson <josiah.carlson at gmail.com> wrote:
> I'm in the process of doing the conversion.  asyncore.py was no
> problem, but asynchat.py relies heavily on the 2.x buffer() object
> (specifically the slicing aspects thereof), which went away, to be
> replaced by the seemingly incomplete memoryview object.  Are
> memoryviews going to be gaining slicing ability (in the case of
> 1-dimensional memory views, which also have step forced to 1)?  Are we
> just waiting for an implementation?  Or because of the ability to
> offer a memoryview into just about any object now, "slicing" only some
> objects (1-dimensional in particular) breaks consistency for all other
> objects?

It's in the PEP [1]. However, we've had the unfortunate experience of
finding that much of the PEP hasn't been implemented.

[1] http://www.python.org/dev/peps/pep-3118/
>  - Josiah

Benjamin Peterson
"There's no place like"

More information about the Python-3000 mailing list