#11732: make suppress_crash_popup() work on Windows XP and Windows Server 2003.
#11732: merge with 3.3.
#11732: add a new suppress_crash_popup() context manager to test.support that disables crash popups on Windows and use it in test_ctypes.
#11732: null merge with 3.2.
#11732: null merge with 3.3.
Fix typo in Misc/NEWS entry.
Merge typo fix in Misc/NEWS entry from 3.2.
Merge typo fix in Misc/NEWS entry from 3.3.
Fix memory leak introduced in 15190138d3f3.
#14645: Generator now emits correct linesep for all parts.

Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent.  In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with.  Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
Merge: #14645: Generator now emits correct linesep for all parts.

Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent.  In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with.  Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
Merge: #14645: Generator now emits correct linesep for all parts.

Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent.  In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with.  Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
PEP8 fixup on previous patch, remove unused import in test_email.
Merge: PEP8 fixup on previous patch, remove unused imports in test_email.
Merge: PEP8 fixup on previous patch, remove unused imports in test_email.
Issue #17223: the test is specific to 32-bit wchar_t type

Skip the test on Windows.
(Merge 3.3) Issue #17223: the test is specific to 32-bit wchar_t type

Skip the test on Windows.
Add PyDict_SetDefault. (closes #17327)

Patch by Stefan Behnel and I.
Issue #17384: Consolidated cleanup operations in tests.
Issue #17378: ctypes documentation fix.

Document that ctypes automatically applies byref() when argtypes declares
POINTER.