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/2007-March/072385.html below:

[Python-Dev] An updated extended buffer PEP

[Python-Dev] An updated extended buffer PEP [Python-Dev] An updated extended buffer PEPGreg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 29 00:41:37 CEST 2007
Carl Banks wrote:

> /* don't define releasebuffer or lockbuffer */
> /* only objects that manage buffers themselves would define these */

That's an advantage, but it's a pretty small one -- the
releasebuffer implementation would be very simple in
this case.

I'm bothered that the releaser field makes the protocol
asymmetrical and thus harder to reason about. It would
cost me more mental effort to convince myself that a
releasebuffer implementation wasn't needed in any
particular case than it would to write the one-line
implementation otherwise required.

--
Greg
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