Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
6196ac41
Commit
6196ac41
authored
Jan 13, 2017
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Issue #29219: Fixed infinite recursion in the repr of uninitialized
ctypes.CDLL instances.
parents
cc283378
4c4ff5f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
Lib/ctypes/__init__.py
Lib/ctypes/__init__.py
+4
-0
Misc/NEWS
Misc/NEWS
+3
-0
No files found.
Lib/ctypes/__init__.py
View file @
6196ac41
...
...
@@ -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
,
...
...
Misc/NEWS
View file @
6196ac41
...
...
@@ -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
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment