bpo-29808: Do not fail in SysLogHandler constructor if syslog isn't available. by vsajip · Pull Request #696 · python/cpython (original) (raw)

…n Windows AMD64. (#168)

Added code and test to check that when a structure passed by value is large enough to need to be passed by reference, a copy of the original structure is passed. The callee updates the passed-in value, and the test verifies that the caller's copy is unchanged. A similar change was also added to the test added for bpo-20160 (that test was passing, but the changes should guard against regressions).

(cherry picked from commit a86339b)