cpython/Misc/NEWS.d/next
Victor Stinner 96b4087ce7
bpo-37140: Fix StructUnionType_paramfunc() (GH-15612)
Fix a ctypes regression of Python 3.8. When a ctypes.Structure is
passed by copy to a function, ctypes internals created a temporary
object which had the side effect of calling the structure finalizer
(__del__) twice. The Python semantics requires a finalizer to be
called exactly once. Fix ctypes internals to no longer call the
finalizer twice.

Create a new internal StructParam_Type which is only used by
_ctypes_callproc() to call PyMem_Free(ptr) on Py_DECREF(argument).
StructUnionType_paramfunc() creates such object.
2019-08-30 14:30:33 +02:00
..
Build bpo-37707: Exclude expensive unit tests from PGO task (GH-15009) 2019-07-30 11:08:18 -07:00
C API bpo-36763: PyConfig_Read() handles PySys_AddXOption() (GH-15431) 2019-08-23 18:03:08 +01:00
Core and Builtins bpo-8425: Fast path for set inplace difference when the second set is large (GH-15590) 2019-08-29 09:02:58 -07:00
Documentation bpo-37979: Add alternative to fromisoformat in documentation (GH-15596) 2019-08-29 07:47:48 -07:00
IDLE bpo-37824: Properly handle user input warnings in IDLE shell. (GH-15500) 2019-08-26 02:27:56 -04:00
Library bpo-37140: Fix StructUnionType_paramfunc() (GH-15612) 2019-08-30 14:30:33 +02:00
Security Fix typos in comments, docs and test names (#15018) 2019-07-30 18:16:13 -04:00
Tests bpo-36833: Add tests for Datetime C API Macros (GH-14842) 2019-08-29 14:54:46 +02:00
Tools-Demos bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593) 2019-08-29 17:49:08 +03:00
Windows bpo-37549: os.dup() fails for standard streams on Windows 7 (GH-15389) 2019-08-23 11:38:41 -07:00
macOS bpo-18049: Sync thread stack size to main thread size on macOS (GH-14748) 2019-08-01 07:43:07 +02:00