The 2 attached patch files are patches required for the OS/2 EMX port to build and function: - build_os2emx.patch - updates to the Makefile and config files in PC/os2emx; - source_os2emx.patch - updates to various core/library/test files. => Include/pystrcmp.h (OS/2 is like Windows, with the same C lib routines) => Lib/test/test_io.py (OS/2 is like Windows again) => Objects/floatobject.c (should use macro'd symbols not direct) => Python/pymath.c (any platform without HAVE_LOG1P should have DBL_EPSILON in <float.h>) For review so that the fixes can be rolled into 2.6 final.
The patches look good to me. I first thought that there could be a difference between PyOS_strnicmp and PyOS_mystrnicmp, but both Microsoft's strnicmp and python's PyOS_mystrnicmp are sensitive to the current locale. Another unrelated issue is to protect all uses of Py_NAN: some builds may choose to #define Py_NO_NAN...
Committed in revs 66552, 66553 and 66554. I've blocked r66554 from py3k as other changes are needed for OS/2 (r66555) I've merged r66552 and r66553 into py3k as they apply cleanly (r66556). Thanks for the review Amaury.