Mercurial > cpython-lru_cache-weakref
diff Modules/arraymodule.c @ 38676:5bc7272b81e5 legacy-trunk
Buffer objects would return the read or write buffer for a wrapped object when
the char buffer was requested. Now it actually returns the char buffer if
available or raises a TypeError if it isn't (as is raised for the other buffer
types if they are not present but requested).
Not a backport candidate since it does change semantics of the buffer object
(although it could be argued this is enough of a bug to bother backporting).
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Thu, 08 Jun 2006 17:00:45 +0000 |
| parents | 36cd4a4ab8f7 |
| children | 42808526511c |
line wrap: on
line diff
