Thank you for your thoughts.
I'm trying to migrating en existing python2 api, 
which has been build using boost::python with pure python3 code. 
All of the py2 classes do have these additional properties names and values.
You are right, using dict(Ordinal.__members__) for names
could have been used as well but I thought, 
if someone else wants to change something it might be easier
to understand if both properties look the same, maybe a wrong assumption.
(something I seem to do often :-)

Eren

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to