A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-December/050478.html below:

[Python-Dev] mmap feature or bug?

[Python-Dev] mmap feature or bug? [Python-Dev] mmap feature or bug?Josiah Carlson jcarlson at uci.edu
Sun Dec 19 19:19:32 CET 2004
Michael Hudson <mwh at python.net> wrote:
> 
> Josiah Carlson <jcarlson at uci.edu> writes:
> > Is one's inability to use a = mmapinstance.__setslice__;a(1,2,'a') (and
> > others) a feature or bug?
> 
> I'm not entirely sure about this, though.  Does 
> 
> mmapinstance.__setitem__(slice(1,2), 'a')
> 
> work?  AIUI __setslice__ and __getslice__ are out of favour these days
> (not sure though).
> 
> Any patch to fix one of these would probably also fix the other almost
> as a sside-effect...

Accessing mmapi.__setslice__, mmapi.__getslice__, mmapi.__getitem__ and
mmapi.__setitem__ fail with attribute errors.


 - Josiah

More information about the Python-Dev mailing list

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