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/2002-November/030122.html below:

[Python-Dev] Python interface to attribute descriptors

[Python-Dev] Python interface to attribute descriptors [Python-Dev] Python interface to attribute descriptorsGuido van Rossum guido@python.org
Wed, 13 Nov 2002 14:33:28 -0500
> a. The C-API document doesn't document these functions beyond giving
> their signatures. This is even true in the development version, as far
> as I can tell.

Yes.  Alas, the documention project for new-style classes is way
behind.  I could use some help. :-(

> b. There is no Python API; you can define a class with some methods with
> the right names and signatures and it will come tantalizingly close to
> working for some purposes but sooner or later you find that you just
> aren't allowed to play as a first-class citizen from Python.

Can you show an example of something that doesn't work?  I'm pretty
sure this works correctly, as long as you stay far away from classic
classes.

> Has anyone already done either of these tasks?
> 
> On the bright side, I did manage to make a metaclass without my head
> going critical. Smoke came out my ears, though.

What color?

--Guido van Rossum (home page: http://www.python.org/~guido/)



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