Ronald Oussoren wrote: > If I understand this discussion correctly that code that would be > conditionalized using this define is the IS_SELECTABLE macro in > selectmodule.c and very simular code in other modules. I'd say that > calling the test _Py_IS_SELECTABLE and putting it into pyport.h > as Tim mentioned in an aside seems to be a good solution. At the > very least it is a lot nicer than defining a very long name in > pyconfig.h and then having very simular code in several #if blocks.
For the moment, I have committed Tim's original proposal. Moving the macro into pyport.h could be done in addition. That should be done only if selectmodule is also adjusted; this currently tests for _MSC_VER. Regards, Martin _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com