There are several reports that python cannot be compiled in recent OpenBSD. The problem seems to be that configure script is not updated in sync with OpenBSD releases. Similar bug report can be found here:: www.python.org/sf/1026986 building on OpenBSD 3.5 Attached patch uses the same hack as this one. I didn't test it by myself, but the reporter said "it did the trick."
Logged In: YES user_id=33168 Thanks for the report. It would be good to have the person double check 2.4 and head. Committed revision 41984. Committed revision 41985. (2.4) Also related to bug 1244610.