Issue #16884: updated logging documentation to include lastResort and use 'note' directives where appropriate.
Issue #16884: Merged logging documentation fixes from 3.2.
Closes #16884: Merged logging documentation fixes from 3.3.
Add a comment about *not* caching the hash value. Issue #9685 suggested to memorize the hash value, but the feature request was rejected because no speed ups were found.
Issue #15972: Fix error messages when os functions expecting a file name or
file descriptor receive the incorrect type.
Issue #15972: Fix error messages when os functions expecting a file name or
file descriptor receive the incorrect type.
fcntl: add F_DUPFD_CLOEXEC constant, available on Linux 2.6.24+.
Issue #16854: Fix regrtest.usage() regression introduced in 6e2e5adc0400.

This fixes a regression introduced in the commit for issue #15302, which
switched regrtest from getopt to argparse.
Issue #15845: Fix comparison between bytes and string.
Issue #15845: Fix comparison between bytes and string.
Issue #15845: Fix comparison between bytes and string.
Patch by Alessandro Moura.
Issue #16884: Updated docs to use 'note' directives in a couple of places missed earlier.
Issue #16884: Merged doc fix from 3.2.
Issue #16884: Merged doc fix from 3.3.