[issue4146] compilation of Modules/python.c fails on OpenBSD

2008-10-19 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: Fixed in r66976. -- nosy: +benjamin.peterson resolution: accepted -> fixed status: open -> closed ___ Python tracker <[EMAIL PROTECTED]> __

[issue4146] compilation of Modules/python.c fails on OpenBSD

2008-10-19 Thread Christian Heimes
Christian Heimes <[EMAIL PROTECTED]> added the comment: Thanks! The patch looks good. Next time please use either the .diff or .patch extension. It makes it easier to review the patch. -- assignee: -> barry keywords: +needs review, patch nosy: +barry, christian.heimes priority: -> rel

[issue4146] compilation of Modules/python.c fails on OpenBSD

2008-10-19 Thread Damien Miller
New submission from Damien Miller <[EMAIL PROTECTED]>: Compilation of 3.0rc1 Modules/python.c fails on OpenBSD with the following error. The attached patch fixes things by explicitly casting PyMem_Malloc's return value c++ -pthread -c -fno-strict-aliasing -DNDEBUG -O2 -pipe -DTHREAD_STACK_SIZE=