#17690: test_time now works with unittest test discovery.  Patch by Zachary Ware.
Fix supernumerary 's' in sys._debugmallocstats() output.
#17585: Fixed IDLE regression. Now closes when using exit() or quit().
#17692: test_sqlite now works with unittest test discovery.  Patch by Zachary Ware.
#6696: add documentation for the Profile objects, and improve profile/cProfile docs.  Patch by Tom Pinckney.
#17688: fix declaration for richcmp example in the docs.

Thanks to Daniel Mullner
Merge heads.