#15438: add a note to math.pow() that suggests using **/pow() for integers.  Patch by Mark Dickinson.
#15438: merge with 3.2.
#17249: convert a test in test_capi to use unittest and reap threads.
#17249: merge with 3.2.
#17249: check for the availability of the thread module.
#17249: null merge.
#17217: fix UnicodeEncodeErrors errors in test_format by printing ASCII only.
#17217: merge with 3.2.
#12749: add a test for non-BMP ranges in character classes.
Remove unused defines.
Issue #5033: Fix building of the sqlite3 extension module
Issue #5033: Fix building of the sqlite3 extension module
Issue #14720: sqlite3: Convert datetime microseconds correctly

Patch by Lowe Thiderman
Issue #14720: sqlite3: Convert datetime microseconds correctly
Issue #8890: Stop advertising an insecure use of /tmp in docs
Issue #8890: Stop advertising an insecure use of /tmp in docs
Issue #16695: Document how glob handles filenames starting with a dot
Issue #16695: Document how glob handles filenames starting with a dot
Issue #16403: Document how distutils uses the maintainer field in PKG-INFO
Issue #16403: Document how distutils uses the maintainer field in PKG-INFO