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

[Python-Dev] from tuples to immutable dicts

[Python-Dev] from tuples to immutable dicts [Python-Dev] from tuples to immutable dictsMartin v. Loewis martin@v.loewis.de
25 Nov 2002 08:51:17 +0100
Brett Cannon <bac@OCF.Berkeley.EDU> writes:

> Somehow being able to use this setup with C extensions; possibly as a
> direct hook into actual C structs with minimal Python objection conversion
> fuss.  So setting values in the structseq could somehow alter the
> underlying C struct directly.  That is what I took away from one of your
> earlier comments.

It is certainly possible to use a structseq in a C extension, after
all, this is what the posix and time modules do. However, there is no
attempt to directly use the layout of the underlying struct. The
struct module would probably be a better starting point for that.

Regards,
Martin



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