#17585: Fixed IDLE regression. Now closes when using exit() or quit().
#6696: add documentation for the Profile objects, and improve profile/cProfile docs.  Patch by Tom Pinckney.
Issue #13355: Raise ValueError on random.triangular call with invalid params.

Initial patch by Yuriy Senko.