add proper dependencies on expat headers and sources
add proper dependencies on expat headers and sources
#16564: Fix regression in use of encoders.encode_noop with binary data.
Merge: #16564: Fix regression in use of encoders.encode_noop with binary data.
#17166: fix _dummy_thread import example.

Report and patch by Berker Peksag.
Merge: #17166: fix _dummy_thread import example.

Report and patch by Berker Peksag.
Issue #17169: Restore errno in tempfile exceptions.
Issue #17156: pygettext.py now uses an encoding of source file and correctly
writes and escapes non-ascii characters.
Issue #17156: pygettext.py now uses an encoding of source file and correctly
writes and escapes non-ascii characters.
Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.

I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag).
Issue #17173: Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.

I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag), mpdecimal (needs to build without Python.h).
Backport deque.rotate() improvements.
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
Issue #6975: os.path.realpath() now correctly resolves multiple nested symlinks on POSIX platforms.
Issue #1470548: XMLGenerator now works with binary output streams.
Issue #1470548: XMLGenerator now works with binary output streams.
Fix a test for SpooledTemporaryFile (added in issue #10355).
Fix a test for SpooledTemporaryFile (added in issue #10355).
Issue #17149: Fix random.vonmisesvariate to always return results in [0, 2*math.pi].
Issue #17149: merge fix from 3.2.