#17064: fix sporadic permission errors in test_mailbox on windows.

Patch by Jeremy Kloth.
Merge: #17064: fix sporadic permission errors in test_mailbox on windows.

Patch by Jeremy Kloth.
Merge: #17064: fix sporadic permission errors in test_mailbox on windows.

Patch by Jeremy Kloth.
#17171: fix email.encoders.encode_7or8bit when applied to binary data.
Merge: #17171: fix email.encoders.encode_7or8bit when applied to binary data.
Merge: #17171: fix email.encoders.encode_7or8bit when applied to binary data.
Raise KeyError instead of OverflowError when getpwuid's argument is out of
uid_t range.
Raise KeyError instead of OverflowError when getpwuid's argument is out of
uid_t range.
modernize some modules' code by using with statement around open()
Clean trailing whitespaces in Makefile.pre.in.
Issue #4591: Uid and gid values larger than 2**31 are supported now.
Null merge
Null merge
profile/cProfile: add tests for run() and runctx() functions
modernize some modules' code by replacing OSError->ENOENT/ENOTDIR/EPERM/EEXIST occurrences with the corresponding pep-3151 exceptions (FileNotFoundError, NotADirectoryError, etc.)