#15438: add a note to math.pow() that suggests using **/pow() for integers.  Patch by Mark Dickinson.
#17249: convert a test in test_capi to use unittest and reap threads.
#17249: check for the availability of the thread module.
Fix deprecation warning in tempfile.
Fix deprecation warning in test_tcl.