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

[Python-Dev] setting class attributes from C?

[Python-Dev] setting class attributes from C? [Python-Dev] setting class attributes from C?David Abrahams David Abrahams" <david.abrahams@rcn.com
Tue, 5 Mar 2002 00:38:28 -0500
----- Original Message -----
From: "Fred L. Drake, Jr." <fdrake@acm.org>
To: <python-dev@python.org>
Sent: Tuesday, March 05, 2002 12:08 AM
Subject: [Python-Dev] setting class attributes from C?


>
> Has anyone tried setting class attributes on a new-style class in C?

Yes, Boost.Python V2 does this without any problems. Of course, I'm
using PyObject_SetAttr rather than PyObject_SetAttrString (not that that
should make any difference).

-Dave





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