Message103076
| Author |
vstinner |
| Recipients |
mark.dickinson, neologix, nnorwitz, pitrou, r.david.murray, skrah, srid, vstinner |
| Date |
2010年04月13日.19:20:57 |
| SpamBayes Score |
1.6948898e-06 |
| Marked as misclassified |
No |
| Message-id |
<1271186459.44.0.419788454588.issue4970@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> I suggest simply skipping the "offending" test on linuxthread
> platforms.
Good idea
> (perhaps as simple as checking for sys.platform == "linux2"
> and signal.SIGRTMIN == 35)
I would prefer to rely on confstr():
import os
try:
# 'linuxthreads-0.10' or 'NPTL 2.10.2'
pthread = os.confstr("CS_GNU_LIBPTHREAD_VERSION")
linuxthreads = pthread.startswith("linuxthreads")
except ValueError:
linuxthreads = False
^^ this example requires attached patch for the two CS_GNU_* constants.
Which tests should be disabled? |
|