#17564: skip test_bad_address unless the tests are run with -unetwork/-uall.
#17564: merge with 3.3.
#17526: fix an IndexError raised while passing code without filename to inspect.findsource().  Initial patch by Tyler Doyle.
#17526: merge with 3.3.
#17539: fix MagicMock example.  Patch by Berker Peksag.
#17539: merge with 3.3.
Updated logging cookbook with additional example for output using str.format().
Merged documentation update from 3.3.
Issue #17581: try to fix building on old OpenSSL versions
Merge
Further compiling fixes (issue #17581)
Fix previous fix (the cause was actually a misplaced #endif, or so it seems)
Improve set_servername_callback docstring.
Fix comment about the OpenSSL version in which SNI version was introduced.
Issue #17435: Don't use mutable default values in Timer.

Patch by Denver Coneybeare with some test modifications by me.
Merge #17435: Don't use mutable default values in Timer.

Patch by Denver Coneybeare with some test modifications by me.