Fix #17197: profile/cProfile modules refactored so that code of run() and runctx() utility functions is not duplicated in both modules.
Issue #1470548: Add test for fragment producing with XMLGenerator.
Issue #1470548: Add test for fragment producing with XMLGenerator.
Issue #1470548: Add test for fragment producing with XMLGenerator.
Issue #17220: Little cleanup of _bootstrap.py.