homepage

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 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?
History
Date User Action Args
2010年04月13日 19:20:59vstinnersetrecipients: + vstinner, nnorwitz, mark.dickinson, pitrou, r.david.murray, srid, skrah, neologix
2010年04月13日 19:20:59vstinnersetmessageid: <1271186459.44.0.419788454588.issue4970@psf.upfronthosting.co.za>
2010年04月13日 19:20:57vstinnerlinkissue4970 messages
2010年04月13日 19:20:57vstinnercreate

AltStyle によって変換されたページ (->オリジナル) /