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.

作者 vstinner
收信人 mark.dickinson, neologix, nnorwitz, pitrou, r.david.murray, skrah, srid, vstinner
日期 2010-04-13.19:20:57
SpamBayes Score 1.6948898e-06
Marked as misclassified
Message-id <1271186459.44.0.419788454588.issue4970@psf.upfronthosting.co.za>
In-reply-to
内容
> 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?
历史
日期 用户 动作 参数
2010-04-13 19:20:59vstinner修改recipients: + vstinner, nnorwitz, mark.dickinson, pitrou, r.david.murray, srid, skrah, neologix
2010-04-13 19:20:59vstinner修改messageid: <1271186459.44.0.419788454588.issue4970@psf.upfronthosting.co.za>
2010-04-13 19:20:57vstinner链接issue4970 messages
2010-04-13 19:20:57vstinner创建