A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-August/027266.html below:

[Python-Dev] PEP 298, __buffer__

[Python-Dev] PEP 298, __buffer__ [Python-Dev] PEP 298, __buffer__Thomas Heller theller@python.net
Fri, 2 Aug 2002 16:23:42 +0200
[Unfortunately my email-server seems to be on vacation even earlier
than myself.
It seems I have not received some posts/replies: I'm currently reading
the archives. Hopefully this one gets through]
[Not the first time.]

Scott writes:
> There isn't currently a way for a class object created from Python script
> to indicate that it wishes to implement the buffer interface.  In the
> Numeric source, I've seen them use self.__buffer__ for this purpose, but
> this isn't actually an officially sanctioned magic name.

This is an idea I also had for quite some time (very vague, maybe).
I like it, but I haven't thought about it very carefully.

Thomas



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