This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author neologix
Recipients neologix, rpointel, vstinner
Date 2011-08-31.20:51:00
SpamBayes Score 0.00040126065
Marked as misclassified No
Message-id <1314823860.91.0.723056181529.issue12868@psf.upfronthosting.co.za>
In-reply-to
Content
> It does not build completely, I have a problem if I add
> --without-threads:

Until this gets fixed, if you want to do a quick test, you could just remove the calls to sched_get_priority_(min|max):

"""
diff -r 0968acf0e6db Modules/posixmodule.c
--- a/Modules/posixmodule.c     Wed Aug 31 16:52:12 2011 +0200
+++ b/Modules/posixmodule.c     Wed Aug 31 22:51:13 2011 +0200
@@ -4562,7 +4562,6 @@
 
     if (!PyArg_ParseTuple(args, "i:sched_get_priority_max", &policy))
         return NULL;
-    max = sched_get_priority_max(policy);
     if (max < 0)
         return posix_error();
     return PyLong_FromLong(max);
@@ -4579,7 +4578,6 @@
 
     if (!PyArg_ParseTuple(args, "i:sched_get_priority_min", &policy))
         return NULL;
-    min = sched_get_priority_min(policy);
     if (min < 0)
         return posix_error();
     return PyLong_FromLong(min);
"""

That should allow you to rebuild with 'without-threads'.
History
Date User Action Args
2011-08-31 20:51:00neologixsetrecipients: + neologix, vstinner, rpointel
2011-08-31 20:51:00neologixsetmessageid: <1314823860.91.0.723056181529.issue12868@psf.upfronthosting.co.za>
2011-08-31 20:51:00neologixlinkissue12868 messages
2011-08-31 20:51:00neologixcreate