This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: mmap instance method access bug
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: georg.brandl, josiahcarlson
Priority: normal Keywords:

Created on 2004-12-19 00:04 by josiahcarlson, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg60617 - (view) Author: Josiah Carlson (josiahcarlson) * (Python triager) Date: 2004-12-19 00:04
While one is able to get/set slices/items with
slice/index notation (mmapi[s:e] or mmapi[s]), one
cannot use the function equivalents,
mmapi.__setslice__(), etc.

This seems to be a bug, as nearly all other instances
produced by the Python standard library allow
instance.[special operator]() to be used.

If I knew what was necessary to expose the function
equivalents, I would offer a patch.  Being that I
don't, I won't.
msg61304 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-01-20 14:50
Fixed in r60143 by switching the mmap object's getattr function to the
standard PyObject_GenericGetAttr().
History
Date User Action Args
2022-04-11 14:56:08adminsetgithub: 41339
2008-01-20 14:50:33georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg61304
nosy: + georg.brandl
2004-12-19 00:04:28josiahcarlsoncreate