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/2003-June/035922.html below:

[Python-Dev] Descriptor write-up [Draft: Please comment]

[Python-Dev] Descriptor write-up [Draft: Please comment] [Python-Dev] Descriptor write-up [Draft: Please comment]Raymond Hettinger Raymond Hettinger" <python@rcn.com
Sun, 1 Jun 2003 04:32:17 -0400
In the spirit of Michele Simionato's write-up on method resolution order, I've written up almost everything I know about
descriptors:
http://tinyurl.com/d63d

Key features:
* Defines a descriptor
* Shows the protocol and how it is called
* Shows a handmade descriptor
* Then covers functions, properties, static and class methods
* Gives examples of each
* Suggests when each would be useful
* Gives a pure python definition of each
* Provides exact references into C source to save efforts in hunting down details

I would like to hammer this into something really useful.  So, any and all suggestions are welcome.


Raymond Hettinger


P.S.  I've borrowed Alex Martelli's style of making precise descriptions of how the CPython works by showing pure Python
equivalents.




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