mirror of https://github.com/python/cpython.git
Issue #29219: Fixed infinite recursion in the repr of uninitialized
ctypes.CDLL instances.
This commit is contained in:
commit
6196ac4186
|
@ -324,6 +324,10 @@ class CDLL(object):
|
|||
"""
|
||||
_func_flags_ = _FUNCFLAG_CDECL
|
||||
_func_restype_ = c_int
|
||||
# default values for repr
|
||||
_name = '<uninitialized>'
|
||||
_handle = 0
|
||||
_FuncPtr = None
|
||||
|
||||
def __init__(self, name, mode=DEFAULT_MODE, handle=None,
|
||||
use_errno=False,
|
||||
|
|
|
@ -212,6 +212,9 @@ Core and Builtins
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #29219: Fixed infinite recursion in the repr of uninitialized
|
||||
ctypes.CDLL instances.
|
||||
|
||||
- Issue #29192: Removed deprecated features in the http.cookies module.
|
||||
|
||||
- Issue #29193: A format string argument for string.Formatter.format()
|
||||
|
|
Loading…
Reference in New Issue