Open MPI logo

Hardware Locality Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [hwloc-devel] python bindings updated to 1.6
From: Guy Streeter (streeter_at_[hidden])
Date: 2013-01-04 16:18:14

I have finally made the 1.6 additions to python-hwloc. userdata and xml
import/export od userdata works.

I spent some time trying to find a way to let userdata be a reference to a
python object, but in the end decided to leave associating the userdata value
with data in python space up to the user. Where in a C program you might make
userdata a pointer to some structure or data area, in python you would need to
put your data in a list or integer-keyed dictionary, and store the list index
or dictionary key in the userdata field.

As always, the git repo is at
and rpm/srpm packages and source tarball are at